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 listNov 21, 2023 12:47Franek KortaFranek KortaScore: 35,332Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 21, 2023 12:4734,9667,210,757,6791,993,085,6930134,967,296
2Nov 21, 2023 12:4735,3326,645,686,9452,013,915,4000134,942,720
3Nov 21, 2023 12:4735,4127,333,250,4882,018,474,4010134,963,200