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 listFeb 8, 2023 19:02Mikhail ShirokovMikhail ShirokovScore: 27,320Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 8, 2023 19:0227,2362,493,651,0631,552,446,7790266,018,816
2Feb 8, 2023 19:0227,3202,079,627,3301,557,213,8860266,924,032
3Feb 8, 2023 19:0227,6113,015,889,5711,573,817,8040268,001,280