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:41Joad NacerJoad NacerScore: 5,899Success
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:415,818576,183,828231,733,00099,885,000265,842,688
2Dec 7, 2024 23:415,899599,917,517244,341,00091,889,000265,932,800
3Dec 7, 2024 23:415,918593,313,966241,257,00096,085,000265,998,336