Fizz Buzz Sergey Svistunov

Perform FizzBuzz on a stream of binary integers as fast as possible.

Input: 30 000 000 uint32 values in little-endian binary on STDIN (4 bytes each).

Output: For each number n, print one line:

  • FizzBuzz if n is divisible by both 3 and 5
  • Fizz if n is divisible by 3
  • Buzz if n is divisible by 5
  • n as a decimal string otherwise
Back to listJan 22, 2024 18:09Yuriy LyfenkoYuriy LyfenkoScore: 4,695Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 18:094,6561,102,275,743197,290,00068,100,000267,759,616
2Jan 22, 2024 18:094,6621,108,549,269191,919,00073,815,000267,927,552
3Jan 22, 2024 18:094,6671,111,360,611194,478,00071,543,000267,890,688
4Jan 22, 2024 18:094,6701,113,266,667199,911,00066,291,000267,816,960
5Jan 22, 2024 18:094,6791,113,789,318201,847,00064,879,000267,866,112
6Jan 22, 2024 18:094,6801,102,256,734201,080,00065,679,000267,964,416
7Jan 22, 2024 18:094,6951,115,250,655191,301,00076,322,000267,878,400
8Jan 22, 2024 18:094,6991,111,486,386185,132,00082,718,000267,694,080
9Jan 22, 2024 18:094,7071,174,703,934268,296,4720267,350,016
10Jan 22, 2024 18:094,7141,173,432,290268,696,3510266,256,384
11Jan 22, 2024 18:094,7401,116,518,346198,127,00072,046,000268,009,472
12Jan 22, 2024 18:094,7671,173,900,015271,695,0800266,063,872