Activity for Shaggy
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #283093 | Initial revision | — | almost 4 years ago |
Answer | — |
A: Guess the language! (Robbers' Thread) Cracks Mark Girrafe's answer: Rust fn main(){print!("Cops and Robbers")} Try it online! (more) |
— | almost 4 years ago |
Comment | Post #283090 |
F#: https://codegolf.codidact.com/posts/283092#answer-283092 (more) |
— | almost 4 years ago |
Edit | Post #283092 | Initial revision | — | almost 4 years ago |
Answer | — |
A: Guess the language! (Robbers' Thread) Cracks Mark Girrafe's answer: F# printfn"Cops and Robbers" Try it online! (more) |
— | almost 4 years ago |
Edit | Post #282979 |
Post edited: |
— | almost 4 years ago |
Edit | Post #282970 |
Post edited: |
— | almost 4 years ago |
Suggested Edit | Post #282967 |
Suggested edit: (more) |
helpful | almost 4 years ago |
Suggested Edit | Post #282970 |
Suggested edit: (more) |
helpful | almost 4 years ago |
Suggested Edit | Post #282979 |
Suggested edit: (more) |
helpful | almost 4 years ago |
Edit | Post #283080 | Initial revision | — | almost 4 years ago |
Answer | — |
A: Guess the language! (Robbers' Thread) Cracks Quintec's answer: Canvas My first clue was the `echp`; if the language used `echo` then why wouldn't it error on that? The second clue was that the last line contained the exact output we needed so I suspect that we're looking for a golfing language that ignores all but the last line of a ... (more) |
— | almost 4 years ago |
Edit | Post #283078 | Initial revision | — | almost 4 years ago |
Answer | — |
A: Guess the language! (Robbers' Thread) Cracks Kevin M. Mansour's answer: Erlang Searched for languages that use `fwrite`, no joy. Searched for `io:fwrite`, got it instantly ``` main([])-> io:fwrite("Cops and Robbers"). ``` Try it online! (more) |
— | almost 4 years ago |
Edit | Post #283076 | Initial revision | — | almost 4 years ago |
Answer | — |
A: Guess the language! (Robbers' Thread) Cracks Mark Girrafe's answer: Japt No way I wasn't getting this one! Even if the intended solution was Pyth. "Cops and Robbers Test it (more) |
— | almost 4 years ago |
Comment | Post #283036 |
`11>>1 = 5` and, as outputting an array of lines is permitted, you can remove the `mkString "\n"`. (more) |
— | almost 4 years ago |
Edit | Post #283074 | Initial revision | — | almost 4 years ago |
Answer | — |
A: Gamer Meme Creator Japt, 19 bytes Takes the artwork as an array of lines and the string as the second input. If we can require that the artwork be right padded with spaces on each line so they're all the same length then the first 2 bytes can be removed but I suspect that them being different lengths is integral to ... (more) |
— | almost 4 years ago |
Comment | Post #283011 |
Can we require that all lines in the input art be right padded with spaces so as to all be equal length? (more) |
— | almost 4 years ago |
Edit | Post #282986 | Initial revision | — | almost 4 years ago |
Answer | — |
A: "Hello, World!" Rockstar, 19 bytes say "Hello, World!" Try it here (Code will need to be pasted in) (more) |
— | almost 4 years ago |
Comment | Post #282982 |
I was hoping someone _un_familiar with me from SE would get this one - should have known it'd be you, though! :p (more) |
— | almost 4 years ago |
Edit | Post #282982 |
Post edited: |
— | almost 4 years ago |
Edit | Post #282982 | Initial revision | — | almost 4 years ago |
Answer | — |
A: Guess the language! (Cops' Thread) Japt, cracked by Razetime, 44 bytes ((Cops)&(Robbers))`¬ps d bÞ`¸ËhDÎmEgviuø Test it `...`¸ËhDÎmEgviuø `...` :Compressed string "cops and robbers" ¸ :Split on spaces Ë :Map each D at index E h ... (more) |
— | almost 4 years ago |
Comment | Post #282965 |
You need to create a separate challenge for robbers to post their solutions to. See https://codegolf.codidact.com/posts/279754 (more) |
— | almost 4 years ago |
Comment | Post #282967 |
[Try it online!](https://tio.run/##S07MK0ss/v9fPykzTz8psTiDy04hNTkjX0HJOb@gWCExL0UhKD8pKbWoWMlaQTkktbgkMy9dR6EEwlAwVDBSMOYKTk3PTc0rSSzJzM9TcEsszSmBmFKA3RSP0gx7LnSJ//8B)
You weren't fooling me with those red herrings! :p (more) |
— | almost 4 years ago |
Comment | Post #282970 |
[Try it online!](https://tio.run/##Sy3KScxL100tTi7KLCj5/58rNzEzTyM6VlPXjosrM98qrbwosyRVQ8k5v6BYITEvRSEoPykptahYSVPv/38A) (more) |
— | almost 4 years ago |
Comment | Post #282979 |
[Test it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=IkNvcHMgYW5kIFJvYmJlcnM)
No way _I_ wasn't getting this one! (more) |
— | almost 4 years ago |
Comment | Post #282903 |
[A few more quick savings for you](https://tio.run/##Dc2xDoIwEIDhV2mY7qKAoDERLSSyuDs4EIYGDsRUjhzVQeOzV@Y/X/6HeZu5kWFy4cgteUtOCTullWedi845EpqsaQjiyoSfOu6H9VKuToaxjzrhZ3k3Ui4WgE/fX3FIsiTdYg6sz6@uIwHGalOvBAvOOEz3iL7hcWZLkeUelhsEF7KW1Y3FtgHCDvHo/w). (more) |
— | almost 4 years ago |
Comment | Post #282905 |
[60 bytes](https://tio.run/##FcfBDoIwDADQX/GCa7NAwiA7GDcTT5z5g6UMo6mUFJXPn@Hd3iv90kb6XD/1IlMuYygSooZ4/85zVhBs3mkFCpGqzl2dP1P0/Q2OWcXKeUv1kQuhNaaQLJtwblgeMIIZMrOcdlGeDELbIZY/) (more) |
— | almost 4 years ago |
Edit | Post #282619 |
Post edited: |
— | almost 4 years ago |
Edit | Post #282619 |
Post edited: |
— | almost 4 years ago |
Edit | Post #282264 |
Post edited: |
— | almost 4 years ago |
Edit | Post #282595 |
Post edited: |
— | almost 4 years ago |
Edit | Post #282618 |
Post edited: |
— | almost 4 years ago |
Edit | Post #282618 |
Post edited: |
— | almost 4 years ago |
Comment | Post #280828 |
Could do with some test cases (more) |
— | almost 4 years ago |
Edit | Post #282619 |
Post edited: |
— | almost 4 years ago |
Edit | Post #282505 |
Post edited: |
— | almost 4 years ago |
Edit | Post #282619 | Initial revision | — | almost 4 years ago |
Answer | — |
A: The Pell Numbers Japt, 11 9 bytes Outputs the first `n` terms. Change the `h` to `g` to get the `n`th 0-indexed term. ÈÑ+ZÔÅÎ}h Try it ÈÑ+ZÔÅÎ}h :Implicit input of integer U È :Function taking an integer X and an array Z as arguments Ñ : X2 + ... (more) |
— | almost 4 years ago |
Edit | Post #282618 |
Post edited: |
— | almost 4 years ago |
Edit | Post #282618 | Initial revision | — | almost 4 years ago |
Answer | — |
A: The Pell Numbers JavaScript, 26 bytes Outputs the `n`th term, 0-indexed. f=n=>n f=n=>--n&&f(n)+[,(g=n=>n<2?n:g(--n)2+g(--n))(n)] Try it online! (more) |
— | almost 4 years ago |
Comment | Post #280753 |
Ta. Wasn't showing up when searching on me phone last night. (more) |
— | almost 4 years ago |
Comment | Post #280753 |
Did you forget to post this one? Can't find it on Main. (more) |
— | almost 4 years ago |
Edit | Post #282595 |
Post edited: |
— | almost 4 years ago |
Edit | Post #282595 | Initial revision | — | almost 4 years ago |