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 12, 2024 21:26Franek KortaFranek KortaScore: 26,975Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2024 21:2626,8211,856,026,7651,528,770,3520267,292,672
2May 12, 2024 21:2626,9752,115,985,3491,537,602,7560267,935,744
3May 12, 2024 21:2627,0302,119,529,9091,540,730,6730268,001,280