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 listJun 23, 2024 13:23Franek KortaFranek KortaScore: 4,866Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 23, 2024 13:234,697579,001,311267,708,5290266,055,680
2Jun 23, 2024 13:234,736569,485,978269,935,5530267,145,216
3Jun 23, 2024 13:234,782593,504,701272,554,3870267,284,480
4Jun 23, 2024 13:234,814539,142,550193,629,00080,760,000268,115,968
5Jun 23, 2024 13:234,833534,053,573196,925,00078,576,000268,070,912
6Jun 23, 2024 13:234,844534,655,663198,830,00077,265,000268,173,312
7Jun 23, 2024 13:234,866546,028,304195,201,00082,139,000268,058,624
8Jun 23, 2024 13:234,881552,821,046197,906,00080,338,000268,091,392
9Jun 23, 2024 13:234,909560,526,229202,068,00077,718,000268,091,392
10Jun 23, 2024 13:234,915570,673,965193,286,00086,881,000268,042,240
11Jun 23, 2024 13:234,928567,470,514193,836,00087,071,000268,062,720
12Jun 23, 2024 13:234,943575,527,952192,525,00089,243,000267,595,776