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 26, 2024 17:25Joad NacerJoad NacerScore: 4,463Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 26, 2024 17:254,461282,666,545208,431,00045,874,000251,944,960
2Dec 26, 2024 17:254,463280,326,141209,502,00044,893,000251,924,480
3Dec 26, 2024 17:254,469277,002,001206,786,00047,950,000252,100,608