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 listJan 10, 2023 23:52Benjamin YoungBenjamin YoungScore: 35,493Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 10, 2023 23:5235,3063,318,519,4052,012,456,9020266,899,456
2Jan 10, 2023 23:5235,4933,385,656,4522,023,078,0780268,046,336
3Jan 10, 2023 23:5235,5413,478,368,3852,025,849,0340267,878,400