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 listMay 27, 2024 16:25Joad NacerJoad NacerScore: 12,038Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2024 16:2512,0291,462,936,304685,631,6650267,644,928
2May 27, 2024 16:2512,0381,577,825,341686,176,0460267,485,184
3May 27, 2024 16:2512,3511,628,247,341703,989,3550267,759,616