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 17, 2025 07:52Ian MckibbenIan MckibbenScore: 22,333Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 17, 2025 07:5221,5904,294,117,360531,884,000698,769,000134,139,904
2Jan 17, 2025 07:5221,6973,733,048,288547,608,000689,125,000107,032,576
3Jan 17, 2025 07:5221,9684,201,593,896523,930,000728,243,000105,222,144
4Jan 17, 2025 07:5222,2863,469,641,484516,675,000753,654,000105,996,288
5Jan 17, 2025 07:5222,3333,454,222,942527,759,000745,248,000105,684,992
6Jan 17, 2025 07:5222,3823,438,094,921535,595,000740,169,000105,963,520
7Jan 17, 2025 07:5222,4233,670,129,712551,781,000726,344,000107,839,488
8Jan 17, 2025 07:5222,4383,455,448,962551,375,000727,577,000105,279,488
9Jan 17, 2025 07:5222,6723,746,551,848543,480,000748,841,000105,644,032