New answers tagged counting
0
votes
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
...
0
votes
Covering a Skyline with brush strokes
Vyxal s, 36 bitsv2, 4.5 bytes
0p¯~Ṡ
Try it Online!
Bitstring:
...
0
votes
Count up forever
JavaScript (Node.js), 31 bytes
for(n=1n;;n++)console.log(n+'')
Try it online!
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, ...
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
...
1
vote
Count up forever
Rust, 46 45 40 bytes
fn main(){for x in 1..{println!("{x}")}}
Attempt This Online!
Top 50 recent answers are included
Related Tags
counting × 124code-golf × 113
string × 32
number × 15
grid × 12
array × 11
ascii-art × 9
sequence × 8
combinatorics × 8
math × 7
code-challenge × 5
geometry × 4
restricted-source × 3
primes × 3
game × 3
binary × 3
permutations × 3
base-conversion × 3
image-processing × 3
subsequence × 3
ragged-list × 3
arithmetic × 2
popularity-contest × 2
date × 2
matrix × 2