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 23:06Yuriy LyfenkoYuriy LyfenkoScore: 4,563Success
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 23:064,5131,103,048,067196,463,00060,761,000264,597,504
2Jan 22, 2024 23:064,5281,096,331,868191,828,00066,286,000264,343,552
3Jan 22, 2024 23:064,5391,098,652,477196,584,00062,132,000265,224,192
4Jan 22, 2024 23:064,5391,108,146,913191,270,00067,447,000266,031,104
5Jan 22, 2024 23:064,5561,120,621,929196,561,00063,143,000265,199,616
6Jan 22, 2024 23:064,5621,120,834,710196,545,00063,467,000264,867,840
7Jan 22, 2024 23:064,5631,105,437,889196,591,00063,514,000266,063,872
8Jan 22, 2024 23:064,5871,119,262,121194,592,00066,891,000265,433,088
9Jan 22, 2024 23:064,5981,134,011,805196,292,00065,773,000265,973,760
10Jan 22, 2024 23:064,7321,176,427,447269,715,5600264,470,528
11Jan 22, 2024 23:064,7371,152,667,285269,985,4430264,318,976
12Jan 22, 2024 23:064,7451,162,965,170270,460,7660267,206,656