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 |
Imposes a restriction on the source code used to solve the challenge, for example, having no numbers in the source code.
4
votes
I don't even... I only odd!
CJam, 6 bytes
q_iY%%
113 95 105 89 37 37
This program takes the mod 2 of the input (call it r) and prints every r th character in the input string. If the input number is odd, it prints the whole …
1
vote
Restricted mini challenges Cop's Thread
CJam, A000142, 8 bytes, Cracked
Byteset: {}*+)%1\
20
votes
10
answers
9k
views
Print the QWERTY keyboard using keys that are as close together as possible
Normally, challenges are scored in bytes, or sometimes Levenshtein distance, but for this one we're using keyboard distance -- the number of keys between the keys used to type the program (use the a …
2
votes
Maximizing output from minimal input
Processing, 39 bytes
Deterministic
1 byte:
print(X);
Outputs 0.
9 bytes:
print(PI);
Outputs 3.1415927
29 bytes:
print(P3D);
Outputs processing.opengl.PGraphics3D
Non-deterministic, >= 129 bytes
>= …
1
vote
Maximizing output from minimal input
Javascript, 72 bytes
This works in the Mozilla JSShell Javascript command line interpreter.
1 byte: 1
Outputs 1
35 bytes: gc
Outputs
function gc() {
[native code]
}
36 bytes: run
Outputs …
2
votes
Maximizing output from minimal input
Bash, 1726 bytes
(I fixed it now. Please consider upvoting.)
1 byte: "
Outputs:
>
307 bytes: id
Outputs:
uid=501(geokavel) gid=20(staff) groups=20(staff),701(com.apple.sharepoint.group.1),12( …