Skip to main content

New answers tagged

0 votes

Covering a Skyline with brush strokes

Uiua, 7 bytes /+↥0°\+ Try it online! Explanation ...
janMakoso's user avatar
  • 101
1 vote

Covering a Skyline with brush strokes

Vyxal, 7 bytes ×*§Ġ~ȧL Try it Online! Unlike all the other answers, this sort of visually solves the problem. Let me show you how: Explained ...
lyxal's user avatar
  • 34k
0 votes

Covering a Skyline with brush strokes

Vyxal s, 36 bitsv2, 4.5 bytes 0p¯~Ṡ Try it Online! Bitstring: ...
lyxal's user avatar
  • 34k
0 votes

Count up forever

JavaScript (Node.js), 31 bytes for(n=1n;;n++)console.log(n+'') Try it online!
Andrew Bayly's user avatar
  • 1,109
0 votes

Count up forever

Bash, 29 bytes while echo $((++n));do :;done Explanation: repeatedly increment n (from 0), then print it. This always succeeds, ...
wobtax's user avatar
  • 121
1 vote

Count up forever

Setanta, 111 bytes t:=[0]*40nuair-a 1{i:=39nuair-a!t[i]{i-=1t[i]=(t[i]+1)%10}i=0nuair-a!t[i] i+=1scriobh(nasc@(cuid@t(i,39))(""))} try-setanta.ie link ...
bb94's user avatar
  • 3,628
1 vote

Count up forever

Rust, 46 45 40 bytes fn main(){for x in 1..{println!("{x}")}} Attempt This Online!
bzr's user avatar
  • 727

Top 50 recent answers are included