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 7, 2024 23:46Joad NacerJoad NacerScore: 7,765Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 7, 2024 23:467,309910,551,333242,632,000173,999,000265,486,336
2Dec 7, 2024 23:467,7651,078,786,580255,533,000187,050,000267,137,024
3Dec 7, 2024 23:467,7901,088,592,689234,277,000209,771,000267,243,520