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, 2023 06:32Simon ThorningtonSimon ThorningtonScore: 12,775Success
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, 2023 06:3212,7472,078,675,612726,587,9540268,066,816
2Dec 26, 2023 06:3212,7752,140,865,946728,167,7400267,493,376
3Dec 26, 2023 06:3212,8242,315,951,979730,994,1760268,066,816