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 21, 2023 23:41Kenneth MaplesKenneth MaplesScore: 5,337Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2023 23:415,132534,577,353220,686,00071,851,000267,960,320
2Dec 21, 2023 23:415,141530,382,780217,060,00075,971,000267,874,304
3Dec 21, 2023 23:415,144530,750,437210,833,00082,372,000267,939,840
4Dec 21, 2023 23:415,144540,569,527225,858,00067,361,000267,898,880
5Dec 21, 2023 23:415,155529,062,355232,388,00061,424,000268,050,432
6Dec 21, 2023 23:415,213541,112,011216,540,00080,595,000267,833,344
7Dec 21, 2023 23:415,337551,553,920236,707,00067,486,000268,017,664
8Dec 21, 2023 23:415,3521,172,566,793305,046,1890266,342,400
9Dec 21, 2023 23:415,3841,246,891,251306,865,3940266,485,760
10Dec 21, 2023 23:415,4821,185,348,881312,469,9990267,251,712
11Dec 21, 2023 23:415,883582,687,976244,781,00090,549,000267,960,320
12Dec 21, 2023 23:416,015589,776,391220,608,000122,229,000267,907,072