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:54Yuriy LyfenkoYuriy LyfenkoScore: 4,636Success
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:544,5261,143,496,249257,955,7310266,657,792
2Jan 22, 2024 18:544,5411,174,151,611258,850,2070267,481,088
3Jan 22, 2024 18:544,5841,176,892,300261,314,0850266,031,104
4Jan 22, 2024 18:544,6201,112,862,040198,771,00064,575,000264,699,904
5Jan 22, 2024 18:544,6241,110,229,124199,709,00063,866,000265,191,424
6Jan 22, 2024 18:544,6271,115,241,521199,296,00064,418,000264,491,008
7Jan 22, 2024 18:544,6361,113,291,568200,232,00064,033,000265,023,488
8Jan 22, 2024 18:544,6431,125,839,432193,114,00071,560,000264,310,784
9Jan 22, 2024 18:544,6561,121,487,666198,539,00066,855,000263,950,336
10Jan 22, 2024 18:544,6711,129,563,222193,997,00072,254,000265,801,728
11Jan 22, 2024 18:544,6851,141,158,336194,413,00072,659,000266,215,424
12Jan 22, 2024 18:544,6901,128,999,633199,490,00067,847,000265,891,840