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 8, 2025 19:06Bohdan StorozhukBohdan StorozhukScore: 5,596Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 8, 2025 19:065,496337,460,393250,195,00063,049,000251,912,192
2Jan 8, 2025 19:065,529342,205,333255,944,00059,218,000251,887,616
3Jan 8, 2025 19:065,538346,511,428256,720,00058,935,000251,916,288
4Jan 8, 2025 19:065,565343,092,638247,393,00069,828,000251,863,040
5Jan 8, 2025 19:065,596346,073,287259,985,00058,996,000251,895,808
6Jan 8, 2025 19:065,605343,145,587251,616,00067,896,000251,899,904
7Jan 8, 2025 19:065,614348,265,997255,785,00064,197,000252,002,304
8Jan 8, 2025 19:065,616346,989,776267,110,00053,021,000251,899,904
9Jan 8, 2025 19:065,635349,112,719254,758,00066,458,000251,895,808