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:27Joad NacerJoad NacerScore: 8,777Success
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:278,7221,043,071,184497,143,2460267,673,600
2May 31, 2024 21:278,7771,038,494,712500,285,1210267,702,272
3May 31, 2024 21:278,8271,055,161,907503,166,5220267,677,696