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 22, 2024 22:24Yuriy LyfenkoYuriy LyfenkoScore: 4,581Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 22:244,5291,107,277,013187,031,00071,110,000264,806,400
2Jan 22, 2024 22:244,5341,106,990,021195,348,00063,081,000264,241,152
3Jan 22, 2024 22:244,5411,097,153,728191,887,00066,960,000265,097,216
4Jan 22, 2024 22:244,5441,168,934,095258,996,7240266,240,000
5Jan 22, 2024 22:244,5451,165,570,060259,079,9980266,444,800
6Jan 22, 2024 22:244,5561,166,430,588259,696,5180266,170,368
7Jan 22, 2024 22:244,5811,130,478,145197,831,00063,265,000263,872,512
8Jan 22, 2024 22:244,5811,113,102,455198,404,00062,708,000264,392,704
9Jan 22, 2024 22:244,5851,122,775,472193,708,00067,644,000265,220,096
10Jan 22, 2024 22:244,5891,114,576,108197,968,00063,632,000264,175,616
11Jan 22, 2024 22:244,5901,105,106,675191,322,00070,281,000265,703,424
12Jan 22, 2024 22:244,6321,132,804,871192,196,00071,820,000264,204,288