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 4, 2024 07:47Oleg KovalovOleg KovalovScore: 6,498Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 4, 2024 07:476,384659,054,725363,898,1380267,370,496
2Jan 4, 2024 07:476,396672,620,400364,571,5120267,427,840
3Jan 4, 2024 07:476,408669,157,874365,247,8880267,624,448
4Jan 4, 2024 07:476,493606,989,450295,303,00074,823,000267,870,208
5Jan 4, 2024 07:476,494607,274,582285,490,00084,662,000267,800,576
6Jan 4, 2024 07:476,497604,519,520288,779,00081,526,000268,009,472
7Jan 4, 2024 07:476,498617,713,941297,307,00073,058,000267,952,128
8Jan 4, 2024 07:476,504603,190,322300,238,00070,464,000267,866,112
9Jan 4, 2024 07:476,507598,127,402309,732,00061,144,000267,993,088
10Jan 4, 2024 07:476,519610,745,061305,954,00065,633,000267,972,608
11Jan 4, 2024 07:476,540613,746,064289,175,00083,629,000267,976,704
12Jan 4, 2024 07:476,568623,337,086289,847,00084,538,000267,816,960