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 22, 2023 15:20Alexander FrolovAlexander FrolovScore: 24,199Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2023 15:2023,3908,922,526,2471,333,227,9550132,898,816
2Dec 22, 2023 15:2024,1998,388,590,8821,379,362,8730132,595,712
3Dec 22, 2023 15:2024,3399,221,058,9971,387,335,2220132,927,488