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 29, 2023 18:50Yuriy LyfenkoYuriy LyfenkoScore: 4,835Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2023 18:504,6561,172,364,288265,396,4320265,945,088
2Dec 29, 2023 18:504,7501,198,257,434270,723,4690266,014,720
3Dec 29, 2023 18:504,7751,193,234,380272,202,6040265,584,640
4Dec 29, 2023 18:504,7971,114,446,214202,113,00071,334,000268,042,240
5Dec 29, 2023 18:504,8161,126,824,245200,706,00073,789,000267,825,152
6Dec 29, 2023 18:504,8261,131,812,929201,325,00073,753,000267,837,440
7Dec 29, 2023 18:504,8351,124,616,654206,420,00069,150,000267,943,936
8Dec 29, 2023 18:504,8391,128,772,291201,336,00074,494,000267,915,264
9Dec 29, 2023 18:504,8551,134,391,804201,252,00075,469,000267,886,592
10Dec 29, 2023 18:505,4191,153,148,080206,241,000102,631,000267,730,944
11Dec 29, 2023 18:505,7301,183,090,020211,703,000114,924,000267,767,808
12Dec 29, 2023 18:505,8691,195,100,063205,698,000128,810,000267,624,448