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 17, 2025 07:39Ian MckibbenIan MckibbenScore: 24,461Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 17, 2025 07:3923,4163,509,966,039656,195,000678,542,000134,176,768
2Jan 17, 2025 07:3923,9653,332,393,497655,223,000710,768,000134,217,728
3Jan 17, 2025 07:3924,0483,345,572,711644,167,000726,596,000133,775,360
4Jan 17, 2025 07:3924,0733,722,095,965641,546,000730,622,00077,938,688
5Jan 17, 2025 07:3924,4614,607,236,941619,675,000774,594,00073,859,072
6Jan 17, 2025 07:3924,7593,601,725,641629,759,000781,531,00074,579,968
7Jan 17, 2025 07:3924,8134,080,584,440639,351,000775,001,000132,939,776
8Jan 17, 2025 07:3924,9223,671,439,809636,217,000784,363,00074,657,792
9Jan 17, 2025 07:3925,1363,649,712,547609,629,000823,150,00074,780,672