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 listDec 27, 2023 06:33Simon ThorningtonSimon ThorningtonScore: 8,812Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 27, 2023 06:338,7841,029,412,569500,694,4510267,448,320
2Dec 27, 2023 06:338,8121,062,522,294502,308,9990266,596,352
3Dec 27, 2023 06:338,8621,108,788,428505,128,5400264,454,144