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 listApr 23, 2024 23:16Joad NacerJoad NacerError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2024 00:0300000Error: line 19175285: expected 717831278 got 7134
2Apr 23, 2024 23:168,9581,005,914,901510,614,7600267,743,232
3Apr 23, 2024 23:169,0111,028,778,050513,613,4450267,739,136
4Apr 23, 2024 23:169,0801,031,439,322517,573,4280267,747,328