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 listApr 21, 2025 07:14Pavel GusevPavel GusevScore: 69,761Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2025 07:1469,5363,989,392,9512,959,180,0001,004,382,000252,088,320
2Apr 21, 2025 07:1469,6374,003,138,2802,933,997,0001,035,293,000252,088,320
3Apr 21, 2025 07:1469,6604,000,996,0042,911,517,0001,059,096,000251,850,752
4Apr 21, 2025 07:1469,6984,000,272,2412,943,599,0001,029,160,000251,912,192
5Apr 21, 2025 07:1469,7614,009,851,7462,952,315,0001,024,068,000251,920,384
6Apr 21, 2025 07:1469,8284,012,966,2192,917,928,0001,062,245,000252,059,648
7Apr 21, 2025 07:1469,8744,013,184,9142,909,666,0001,073,139,000252,067,840
8Apr 21, 2025 07:1470,9134,076,547,2802,974,805,0001,067,212,000251,912,192
9Apr 21, 2025 07:1471,0094,080,363,2292,947,471,0001,100,056,000251,932,672