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 30, 2023 23:23Alexander FrolovAlexander FrolovScore: 5,271Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2023 23:235,057570,081,268288,228,6740267,538,432
2Dec 30, 2023 23:235,118615,209,433291,713,9060267,714,560
3Dec 30, 2023 23:235,129595,785,898292,376,0820266,297,344
4Dec 30, 2023 23:235,237547,504,591222,655,00075,882,000267,788,288
5Dec 30, 2023 23:235,267548,704,057225,891,00074,306,000267,743,232
6Dec 30, 2023 23:235,268545,589,461242,097,00058,186,000267,972,608
7Dec 30, 2023 23:235,271538,205,501217,805,00082,649,000267,968,512
8Dec 30, 2023 23:235,733566,295,610226,397,000100,402,000267,587,584
9Dec 30, 2023 23:235,769631,089,257235,157,00093,664,000267,759,616
10Dec 30, 2023 23:236,104589,233,363239,202,000108,728,000267,571,200
11Dec 30, 2023 23:236,109592,445,341235,157,000113,036,000267,599,872
12Dec 30, 2023 23:236,271604,990,970246,239,000111,205,000267,673,600