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 listJan 18, 2025 18:45MatthiasMatthiasScore: 24,455Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 18, 2025 18:4524,4201,413,921,4851,342,985,00048,963,000251,899,904
2Jan 18, 2025 18:4524,4331,420,822,0421,351,726,00040,961,000251,846,656
3Jan 18, 2025 18:4524,4431,420,553,0641,342,306,00050,973,000252,071,936
4Jan 18, 2025 18:4524,4521,419,656,5631,341,818,00051,954,000252,076,032
5Jan 18, 2025 18:4524,4551,421,041,4091,336,968,00056,956,000251,908,096
6Jan 18, 2025 18:4524,5081,426,218,7061,348,988,00047,964,000252,071,936
7Jan 18, 2025 18:4524,5101,425,746,4361,333,182,00063,912,000251,854,848
8Jan 18, 2025 18:4524,5111,426,971,8141,344,186,00052,967,000251,850,752
9Jan 18, 2025 18:4524,5311,426,793,8551,335,289,00062,966,000251,846,656