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 listFeb 28, 2025 11:02wainCGPwainCGPScore: 21,765Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 28, 2025 11:0221,7171,265,033,0071,191,893,00045,957,000252,088,320
2Feb 28, 2025 11:0221,7211,269,362,0221,191,148,00046,966,000252,092,416
3Feb 28, 2025 11:0221,7621,264,163,8821,197,472,00042,981,000251,846,656
4Feb 28, 2025 11:0221,7641,262,300,8041,199,541,00040,984,000251,850,752
5Feb 28, 2025 11:0221,7651,264,842,1511,195,637,00044,948,000251,850,752
6Feb 28, 2025 11:0221,7691,267,720,8511,179,890,00060,942,000251,850,752
7Feb 28, 2025 11:0221,7801,272,793,4751,192,546,00048,940,000251,850,752
8Feb 28, 2025 11:0221,8231,276,071,6431,200,962,00042,962,000252,092,416
9Feb 28, 2025 11:0221,9141,277,018,1521,202,145,00046,966,000251,846,656