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 31, 2024 21:19Joad NacerJoad NacerScore: 8,836Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 31, 2024 21:198,6871,010,513,108495,138,9480267,685,888
2May 31, 2024 21:198,8361,032,810,421503,634,8810267,665,408
3May 31, 2024 21:198,8831,089,223,624506,330,8350267,542,528