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 1, 2024 18:27Yurkov AlekseyYurkov AlekseyScore: 6,145Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2024 18:276,002596,146,734244,068,00098,035,000263,843,840
2Jan 1, 2024 18:276,054598,901,732245,615,00099,464,000263,593,984
3Jan 1, 2024 18:276,082579,797,210241,673,000104,989,000263,786,496
4Jan 1, 2024 18:276,111618,301,893241,599,000106,706,000263,708,672
5Jan 1, 2024 18:276,118592,824,835245,221,000103,515,000263,835,648
6Jan 1, 2024 18:276,134681,267,465241,288,000108,333,000263,802,880
7Jan 1, 2024 18:276,145610,711,118246,811,000103,435,000263,626,752
8Jan 1, 2024 18:276,145601,720,229242,895,000107,395,000263,737,344
9Jan 1, 2024 18:276,190617,580,540245,684,000107,171,000263,725,056
10Jan 1, 2024 18:276,251873,535,109356,287,2760261,468,160
11Jan 1, 2024 18:276,256877,007,881356,596,7620261,533,696
12Jan 1, 2024 18:276,279884,395,617357,908,8900263,585,792