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 8, 2023 21:20gchebanovgchebanovScore: 5,411Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 21:205,336541,422,205217,094,00087,037,000267,599,872
2Jul 8, 2023 21:205,353569,228,254205,747,00099,394,000267,644,928
3Jul 8, 2023 21:205,355544,925,677216,886,00088,324,000267,747,328
4Jul 8, 2023 21:205,384563,398,012211,097,00095,775,000267,681,792
5Jul 8, 2023 21:205,386568,826,330216,112,00090,888,000267,776,000
6Jul 8, 2023 21:205,387550,528,291221,825,00085,238,000267,825,152
7Jul 8, 2023 21:205,411552,323,642215,695,00092,729,000267,603,968
8Jul 8, 2023 21:205,416567,021,358219,232,00089,503,000267,481,088
9Jul 8, 2023 21:205,418580,427,325218,725,00090,122,000267,825,152
10Jul 8, 2023 21:206,0801,551,290,058346,570,9690267,673,600
11Jul 8, 2023 21:206,1321,568,375,744349,527,0160267,620,352
12Jul 8, 2023 21:206,1601,623,024,184351,121,6460266,665,984