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 31, 2023 22:18Simon ThorningtonSimon ThorningtonScore: 7,252Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2023 22:197,234697,775,941412,337,7580267,055,104
2Dec 31, 2023 22:197,235699,471,587412,369,0810267,554,816
3Dec 31, 2023 22:187,250696,563,345413,229,2690265,867,264
4Dec 31, 2023 22:197,252700,566,058413,379,3680267,030,528
5Dec 31, 2023 22:187,254716,301,223413,475,3830265,424,896
6Dec 31, 2023 22:187,307729,064,101416,475,2500264,871,936