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 10:31Oleg KovalovOleg KovalovScore: 426,936Success
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 10:31426,43424,728,280,51624,306,713,2150267,235,328
2Dec 27, 2023 10:31426,93624,736,349,31124,335,333,4880264,241,152
3Dec 27, 2023 10:31444,50725,748,275,56025,336,877,4270264,814,592