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 listJul 26, 2024 20:59Yuriy LyfenkoYuriy LyfenkoScore: 4,495Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 20:594,4661,104,989,098198,092,00056,451,000264,314,880
2Jul 26, 2024 20:594,4691,107,961,127185,887,00068,847,000265,162,752
3Jul 26, 2024 20:594,4761,103,916,194196,199,00058,961,000264,540,160
4Jul 26, 2024 20:594,4771,126,958,522186,887,00068,324,000264,253,440
5Jul 26, 2024 20:594,4861,147,159,309255,703,9270267,853,824
6Jul 26, 2024 20:594,4861,161,593,944255,716,7550266,530,816
7Jul 26, 2024 20:594,4951,105,780,687191,657,00064,558,000264,695,808
8Jul 26, 2024 20:594,5001,096,288,875189,857,00066,652,000263,704,576
9Jul 26, 2024 20:594,5341,121,271,726191,264,00067,146,000262,561,792
10Jul 26, 2024 20:594,5391,133,815,231189,544,00069,198,000263,753,728
11Jul 26, 2024 20:594,5471,127,019,102187,144,00072,055,000263,319,552
12Jul 26, 2024 20:594,5581,166,501,850259,813,1340265,494,528