Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 55896

For challenges which involve deciding whether or not the input meets certain criteria, and outputting some data, representing that decision.

3 votes

Golf all the 16 logic gates with 2 inputs and 1 output!

Stackylogic, 106 105 bytes (non-competing) Sort of what this language is made for. It was made after the challenge, so non-competing 1 moves the pointer down one, and removes itself 0 moves the p …
Destructible Lemon's user avatar
1 vote

Is it an Odd Word?

Turtlèd, 91 65 64 52 47 67 bytes More bytes because now takes case insensitive input Changed approach again does * for even, else o for odd (trailing space) !-u[*+.(a,)(e,)(i,)(o,)(u,)(A,)(E,)(I, …
Destructible Lemon's user avatar
1 vote

Does it Lead or Follow?

16: Quarterstaff, 64 1 is truthy, .1......."a".......1. 1->a[Hi, Retina!] ?[-124(.|>a)?] 49a! Try it online! the indentation doesn't do anything, by the way. Satisfies: The first characte …
Destructible Lemon's user avatar
8 votes
5 answers
4k views

Is it Covfefey?

Based on this challenge, you must determine if a string is covfefey, that is, could it have been produced as output from a covfefifier? The string will be composed of only alphabet chars (^[a-z]\*$, …
Destructible Lemon's user avatar
4 votes

Is it a leap year?

Python, 37 bytes def c(s):return s%16*(s%25<1)<(s%4<1)
Destructible Lemon's user avatar
33 votes

Golf all the 16 logic gates with 2 inputs and 1 output!

Chess/mediocre chess player in endgame, 70 pieces Inspired by that domino answer, I decided another game should have this honor. Note that I took a few rules for how the pieces move. Because I don't …
Destructible Lemon's user avatar
11 votes

Is it a leap year?

Stackylogic, 226 bytes Yes, that is right. I made a program in Stackylogic (non-TC), which was invented by Helka Homba, for the challenge found here. Stackylogic has only binary input, so 10 (or more, …
Destructible Lemon's user avatar
4 votes

Is it truthy or falsy?

Python, 129 79 78 bytes Gotta submit fast! lambda n:n.lower()[:3]in" 0 f n no nil fai fal nan not nul off und".split(" ") True is false and false is true; I have a nice rhyme for this, I really do …
Destructible Lemon's user avatar
3 votes

Is this number a prime?

Turtlèd, 490 487 451 bytes Turtlèd does not support newlines in code... so oneliner fun! golfed some bytes for not needing to support 0 Golfed some bytes removing useless code, and some other trick …
Destructible Lemon's user avatar
1 vote

Is this number a prime?

Quarterstaff, 94 golfed 1! 10-?[-38a a a a a a a a a a>a10-?]a>b b[>b>d a>c c[1>c1d>d b d(.>e|>d1>e)c]e f>f1b]2-f(.|1)48! Try it online! How it works: Quarterstaff has a register i call "value", …
Destructible Lemon's user avatar