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 18, 2024 13:48Huy Duc LeHuy Duc LeScore: 24,128Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 18, 2024 13:4823,8791,861,582,1381,361,107,1570266,960,896
2Feb 18, 2024 13:4824,1281,935,160,4611,375,320,1570267,390,976
3Feb 18, 2024 13:4824,3451,955,100,3591,387,671,8820268,091,392