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 12, 2025 21:06Mikhail ShirokovMikhail ShirokovScore: 25,892Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 12, 2025 21:0625,8641,499,503,0311,435,295,00038,980,000251,838,464
2Jan 12, 2025 21:0625,8701,502,047,5681,426,602,00047,986,000252,088,320
3Jan 12, 2025 21:0625,8761,498,995,0731,430,987,00043,968,000252,002,304
4Jan 12, 2025 21:0625,8811,493,545,5171,440,213,00034,980,000252,002,304
5Jan 12, 2025 21:0625,8921,504,940,8051,429,893,00045,964,000251,994,112
6Jan 12, 2025 21:0625,9361,498,048,9781,440,361,00037,983,000252,010,496
7Jan 12, 2025 21:0626,1351,516,197,7681,462,691,00026,994,000252,006,400
8Jan 12, 2025 21:0627,1681,573,912,2281,494,628,00053,950,000252,100,608
9Jan 12, 2025 21:0630,6151,771,480,8851,692,098,00052,940,000252,100,608