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 18:16Joad NacerJoad NacerScore: 10,794Success
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 18:1610,7641,171,286,252613,543,4320267,730,944
2May 27, 2024 18:1610,7941,179,339,408615,260,3720267,706,368
3May 27, 2024 18:1610,9511,170,921,037624,207,7440267,726,848