New answers tagged kolmogorov-complexity
1
vote
Help, I've mixed my week up!
Uiua, 6 bytes
↻1Days
Boring builtin answer (Days starts with "Sunday", so it ...
0
votes
Help, I've mixed my week up!
AWK, 63 bytes
$0=gensub(/X/,"day ","g","MonXTueXWednesXThursXFriXSaturXSunX")
Attempt This Online!
1
vote
Display the result of doing 8 perfect shuffles of a deck of cards
Vyxal, 19 bytes
«0ÞnM≥«yf₀ḢJẊ‡IƒY↲Ǐ
Try it Online! This heavily abuses the question allowing any human-readable representation and any order - output is as a list ...
1
vote
Display the result of doing 8 perfect shuffles of a deck of cards
Perl 5, 77 bytes
@d=map{//;map$'.$_,S,C,D,H}A,2..9,T,J,Q,K;say@d=map@d[$_,$_+26],0..25for 1..9
Try it online!
1
vote
0
votes
Display the result of doing 8 perfect shuffles of a deck of cards
Uiua, 26 bytes
⍥₈(♭⍉↯2_∞.)♭⊞⍚⊂Cards Suits
Try it!
...
0
votes
0
votes
Draw an alphabet party hat
AWK, 101 bytes
@load "ordchr";{for(i=26;i--;print){for(j=int(i/2);j--;)printf" ";for(k=i+96;k++<122;)printf chr(k)}}
Attempt This Online!
...
0
votes
String analyser
05AB1E, 15 bytes
•9¢y` т•₂вD.b×»
Try it online.
Explanation:
The .b builtin is perfect for this challenge, since it uses the 1-...
0
votes
String analyser
AWK, 95 bytes
@load "ordchr"
END{for(;i++<split("AWSALILAND",a,X);print)for(j=0;j++<ord(g=a[i])-64;)printf g}
Attempt This Online!
0
votes
Print/Output the L-phabet
AWK, 78 bytes
@load "ordchr"
END{for(i=64;i++<90;print)for(j=64;j++<90;)printf chr(j<i?i:j)}
Attempt This Online!
0
votes
1
vote
0
votes
There are known knowns
AWK, 56 bytes
{$0="X Xs\nX unXs\nunX Xs\nunX unXs";gsub("X","known")}1
To test:
...
0
votes
Output Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo
YASEPL, 49 bytes
=a!1)"BbBbbbB"`1!b¥a,1~#"uffalo "!+}2,7#"buffalo"
0
votes
1
vote
1
vote
Print the numbers -1, 0, 1
Brainfuck, 41 bytes
-[+>+[+<]>+]>-[->+>+<<]>.++++.>-.<-.>.<+.
Attempt This Online!
Uses comma ...
0
votes
1, 2, Fizz, 4, Buzz
AWK, 56 bytes
{for(;i++<$1;)print i%3?i%5?i:y="Buzz":i%5?x="Fizz":x y}
To test:
...
0
votes
Output Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo
AWK, 38 bytes
$0="BbBbbbBb"{gsub(/B|b/,"&uffalo ")}1
Attempt This Online!# AWK, 36 bytes
Different approach from other AWK solutions.
0
votes
Print the numbers -1, 0, 1
AWK, 16 bytes
END{print"-101"}
Some AWK implementations will need BEGIN instead of END, however.
You could do it at 9 bytes, with an empty input:
...
0
votes
Print the numbers -1, 0, 1
gammascript, 49 12 bytes
write -1 0 1
cheesy. But since there's no other way to make it shorter, this works
try it online (the double newlines aren't really ...
1
vote
Print numbers from 1 to 10
PacalABC.NET, 24 bytes
This the least known language in here
begin;(1..10).Print;end.
0
votes
Output Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo
Kakoune, 24 bytes
8+iBuffalo <esc>b)<a-,>)<a-,>3)<a-,>`gld
basically we write Buffalo with 8 cursors then remove the selections we want to ...
0
votes
1
vote
Output Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo
Vyxal 3 -S, 14 bytes
162bƛ"Tᶪэd„n¿V
Vyxal It Online!
Similar to vyxal 2, but with a better set up
1
vote
1
vote
Print a 10 by 10 grid of asterisks
Joeasus, 11 bytes
GRID 10 '*'
Try It Online!
You don't so much "Write" Joeasus answers as you do find them.
1
vote
Print the phrase "And she said, 'But that's his.'" using only the alphabet
ibe, 141 bytes
(edit: I used the wrong command for output lol)
...
1
vote
Output Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo
C#, 70 bytes
Console.Write(string.Join("uffalo ","BbBbbbBb ".ToCharArray())[..^2]);
Try it online!
2
votes
Output Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo
Joeasus, 29 27 23 bytes
pp![BufflotongueTwister
Run Peq Online
-2 thanks to emanresu A
-4 thanks to lyxal
Joeasus is a joke programming language "interpreted&...
1
vote
"Hello, World!"
Joeasus, 2 1 byte
,
Try it Online!
Original solution
hw
Try it Online!
Yes I know very silly.
0
votes
0
votes
0
votes
"Hello, World!"
true, 16 bytes
"Hello, World".
I haven't even made an online interpreter for this language yet
And yes. The languages name is spelled in lowercase
Top 50 recent answers are included
Related Tags
kolmogorov-complexity × 702code-golf × 646
ascii-art × 179
string × 125
graphical-output × 46
restricted-source × 42
code-challenge × 38
number × 33
alphabet × 27
math × 24
sequence × 21
date × 17
geometry × 16
animation × 14
source-layout × 11
natural-language × 11
random × 10
compression × 10
arithmetic × 9
cops-and-robbers × 9
chess × 9
number-theory × 8
integer × 8
primes × 8
unicode × 8