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 27, 2023 07:11Simon ThorningtonSimon ThorningtonScore: 18,829Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 27, 2023 07:1118,2906,595,391,0311,042,526,6680134,926,336
2Dec 27, 2023 07:1118,8296,247,056,3791,073,277,2120134,991,872
3Dec 27, 2023 07:1118,8986,326,104,0721,077,168,0550134,926,336