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 21, 2025 19:56Ian MckibbenIan MckibbenScore: 10,645Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2025 19:5610,620634,611,028551,399,00053,941,000252,006,400
2Jan 21, 2025 19:5610,635634,627,702557,242,00048,933,000252,010,496
3Jan 21, 2025 19:5610,636634,461,731555,302,00050,936,000252,006,400
4Jan 21, 2025 19:5610,638630,417,987555,437,00050,948,000251,932,672
5Jan 21, 2025 19:5610,645634,048,500554,790,00051,980,000251,826,176
6Jan 21, 2025 19:5610,646639,031,092556,900,00049,901,000252,002,304
7Jan 21, 2025 19:5610,647639,466,633552,883,00053,988,000252,006,400
8Jan 21, 2025 19:5610,649633,058,446557,093,00049,918,000252,002,304
9Jan 21, 2025 19:5610,653630,335,884556,287,00050,934,000252,006,400