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 13, 2024 04:55Andrey LikhachevAndrey LikhachevScore: 4,394Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 13, 2024 04:554,387278,362,937204,049,00046,011,000252,043,264
2Dec 13, 2024 04:554,390274,427,034205,189,00045,041,000251,842,560
3Dec 13, 2024 04:554,390277,464,320209,363,00040,875,000251,928,576
4Dec 13, 2024 04:554,391276,483,056206,415,00043,875,000251,932,672
5Dec 13, 2024 04:554,394278,102,154210,528,00039,910,000251,932,672
6Dec 13, 2024 04:554,394278,435,514207,536,00042,904,000251,842,560
7Dec 13, 2024 04:554,396274,445,569206,625,00043,920,000251,924,480
8Dec 13, 2024 04:554,398274,623,337207,729,00042,944,000251,936,768
9Dec 13, 2024 04:554,398274,562,766207,744,00042,947,000251,842,560