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 12, 2023 14:34Vadim AlekseevVadim AlekseevScore: 15,828Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 12, 2023 14:3415,7722,273,272,109898,985,9640256,737,280
2Dec 12, 2023 14:3415,8282,369,644,643902,214,1500256,217,088
3Dec 12, 2023 14:3415,8422,322,943,462902,988,0300256,790,528