Search Results
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 |
For challenges which involve deciding whether or not the input meets certain criteria, and outputting some data, representing that decision.
4
votes
Write a haiku-w detector
Japt, 11 bytes
Saved lots of bytes thanks to @ETHproductions
This takes an array of three strings as input.
®¸lÃ¥"5,7,5
Run it online!
6
votes
Determining Yes or No?
Japt, 8 bytes
"yn"gUèn
Try it online!
Explanation:
"yn"gUèn
"yn" String literal - "yn"
g Return the char at index:
è Number of matches where:
n "n" is found …
1
vote
Equal, sum or difference!
Japt, 14 13 bytes
¥VªaU ¥5ª5¥Nx
Try it online!
2
votes
Does it oscillate periodically?
Japt, 15 bytes
ä- mg ò¦ mÊä¥ e
Try it online!
Explanation
ä- mg ò¦ mÊä¥ e [0,3,7,5,2,3,6]
ä- // Difference between neighboring elements …
4
votes
Is this number triangular?
Japt, 10 7 bytes
Saved 3 bytes thanks to @Luke and @ETHproductions
*8Ä ¬v1
Try it online!
Explanation:
*8Ä ¬v1
¬ // Square root of:
*8 // Input * 8
Ä // +1
v1 // Re …
2
votes
Is this string a letter doing a cartwheel?
Japt, 47 bytes
g ¦U¬o ª`q¿nwm`ò má c aU¯2)<0?0:UÅë ä¥ ©Uë ä¥ e
Try it online!
2
votes
Isogram checker
Japt 2.0, 12 11 bytes
-1 byte thanks to Nit
v
f\l â eUq
Test it online!
0
votes
Check if words are isomorphs
Japt, 8 bytes
®m!bZÃr¥
Try it online!
0
votes
Is it a leap year?
JavaScript, 19 bytes
y=>!(y%25?y%4:y%16)
Try it online!
1
vote
Is it a leap year?
Japt -h!, 8 bytes
Input is taken as a string.
k0 ò o%4
Try it online!
0
votes
Will Jimmy fall off his platform?
Japt -¡, 9 bytes
-1 byte if the input can be reversed.
VtUao)è-²
Try it online
1
vote
caN it be acrOnymised?
Stax, 4 bytes
äΦv>
Run and debug it
7
votes
Is it double speak?
JavaScript, 28 bytes
s=>s.every((x,y)=>x==s[y|1])
Try it online!
23 bytes using wastl's regex
s=>/^((.)\2)*$/.test(s)
Try it online!
8
votes
Magic the Gathering: Friends or Foes?
Japt, 6 bytes
Inspired by @Martin Ender's solution.
Takes an array of two char codes as input.
×%51<9
Try it online! | Test Suite
Returns true for friends, false for foes.
14-byte solution:
Takes tw …
14
votes
Is this even or odd?
Japt, 1 byte
v
Returns 1 for even numbers, 0 for odd.
Try it online!
Explanation
One of Japt's defining features is that unlike most golfing languages, functions do not have fixed arity; that is, any …