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 18, 2024 20:10Franek KortaFranek KortaScore: 25,051Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2024 20:1025,0461,724,295,5651,427,642,8830265,379,840
2May 18, 2024 20:1025,0511,722,540,2381,427,895,4900267,288,576
3May 18, 2024 20:1025,1771,733,612,9721,435,078,3910266,670,080