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 |
Kolmogorov complexity, informally, is the amount of code it takes to describe or produce a constant object, such as a string or image. When posting a challenge in this category, please make sure it adds something new to existing challenges.
6
votes
Work it harder, make it better
Sprects, 302 bytes
:xxnnnnnnnmW12603 27428 3s59qp wb12604280qpb12603 2742803s59qp0wjb:ncvb:mcQb:WcEb:x1203 204203s50607809q0w0y0i0p0j01l0z00:c1263 27428, 3s59:vqp wj:Qqp, w:Eqp wAf-:b0y1liz00:0\n:1Wor …
0
votes
Sing Happy Birthday to your favourite programming language
Sprects, 49 bytes
.12121Dear Sprects\n12.1Happy Birthday .2to You\n
Try it here
8
votes
Alphabet triangle
brainfuck, 1733 121 119 bytes
----[---->+<]>++.<++++++++++.<+++++[<+++++>-]<+>>>.<[>>[>.]<[>+>+<<-]>+.>[<<+> >-]<[<.]<-]>>[>[>]<[-]<[<]>>[.>]<<[.<]>]
Slightly more readable version:
----[---->+<]> …
2
votes
Implement Minceraft
Wolfram Language, 50 47 42 bytes
Thanks to MarkMush for -1 byte and Michael Seifert for -4 bytes
If[Random[]<.1^4,"Minceraft","Minecraft"]&
Try it online!
Unfortunately, joining strings doesn't help …
2
votes
Fibonacci + Fizz Buzz = Fibo Nacci!
><>, 128 119 bytes
111&v >:3%0=?v> v
?;ao>:2%0=?v :3%0=?v :n>:}+&:1+&aa*=
^oooo < ^ooooo <
>"obiF"^>"iccaN"^
I shamelessly stole borrowed an existing program FizzBuzz pr …
0
votes
Print numbers from 1 to 10
AnyDice, 10 bytes
output d10
Try it here.
This program creates and outputs a single 10 sided die. This lists out the numbers on the die (1-10) next to a bar graph of the probabilities in the standard …
1
vote
"Hello, World!"
Sprects, 14 bytes
.Hello, World!
5
votes
5
answers
799
views
Some ASCII art for N64's 20th B-Day
The official release of the Nintendo 64 in North America was on September 29, 1996.[1] I figured that this anniversary deserved an ASCII art challenge. There's one small twist though, you have to outp …
6
votes
15
answers
1k
views
Alphabet Spiral
You are to write a program or function that outputs this exact text:
OPQRSTU
NQPONMV
MREDCLW
LSFABKX
KTGHIJY
JUVWXYZA
IHGFEDCB
May also be lowercase and trailing spaces and newlines are allowed.
S …
16
votes
Draw the national flag of France
TI-Basic, 52 44 42 bytes
GridOff
AxesOff
11
Shade(-Ans,Ans,Xmin,Xmin/3
Shade(-Ans,Ans,Xmax/3,Xmax,1,1,Ans
(assumes a default [-10,10,1] by [-10,10,1] graph area)
Would be 4 bytes shorter without the …
12
votes
Draw the national flag of France
Mathematica, 63 94 103 bytes
When I first saw this challenge, I thought Sweet! Mathematica would be perfect for this! until I noticed that built-ins were banned :'(
But wait! I can use bar graphs!
r=R …
1
vote
Print a Tabula Recta!
JavaScript, 86 bytes
"ABCDEFGHIJKLMNOPQRSTUVWXYZ".repeat(27).split("").map((n,m)=>m%27==26?"\n":n).join("")
Inspired by Anders Kaseorg's C solution
I decided this answer was different enough from the …
2
votes
Print a Tabula Recta!
JavaScript, 110 bytes
My answer might be sub-optimal, but I think my method is cool enough to warrant using it.
a="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
b=a.split("")
b.map((n,m)=>b.map((o,p,q,r=m)=>a[(q+p) …
1
vote
Print a Tabula Recta!
Mathematica, 56 bytes
StringRiffle[NestList[RotateLeft,Alphabet[],25],"\n",""]
Pretty simple. Just gets a list of all the rotations of the alphabet, then joins them with newlines and spaces within th …