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 19, 2024 11:30Franek KortaFranek KortaScore: 23,642Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2024 11:3023,6371,651,343,3021,347,299,2400267,214,848
2May 19, 2024 11:3023,6421,700,149,9721,347,595,7100267,321,344
3May 19, 2024 11:3023,6851,615,358,0241,350,022,7320265,072,640