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:07Benjamin YoungBenjamin YoungScore: 407,802Success
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:07404,86824,484,605,06423,077,460,8610268,050,432
2Jan 10, 2023 23:07407,80223,841,553,17123,244,698,2320267,132,928
3Jan 10, 2023 23:07410,93623,907,368,66223,423,376,5990267,522,048