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 41938

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.

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 …
DanTheMan's user avatar
  • 4,115
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 …
DanTheMan's user avatar
  • 4,115
8 votes

Alphabet triangle

brainfuck, 1733 121 119 bytes ----[---->+<]>++.<++++++++++.<+++++[<+++++>-]<+>>>.<[>>[>.]<[>+>+<<-]>+.>[<<+> >-]<[<.]<-]>>[>[>]<[-]<[<]>>[.>]<<[.<]>] Slightly more readable version: ----[---->+<]> …
DanTheMan's user avatar
  • 4,115
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 …
DanTheMan's user avatar
  • 4,115
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 …
DanTheMan's user avatar
  • 4,115
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 …
DanTheMan's user avatar
  • 4,115
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 …
DanTheMan's user avatar
  • 4,115
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) …
DanTheMan's user avatar
  • 4,115
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 …
DanTheMan's user avatar
  • 4,115
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 …
DanTheMan's user avatar
  • 4,115
1 vote

"Hello, World!"

Sprects, 14 bytes .Hello, World!
DanTheMan's user avatar
  • 4,115
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 …
DanTheMan's user avatar
  • 4,115
0 votes

Sing Happy Birthday to your favourite programming language

Sprects, 49 bytes .12121Dear Sprects\n12.1Happy Birthday .2to You\n Try it here
DanTheMan's user avatar
  • 4,115
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 …
DanTheMan's user avatar
  • 4,115