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 7, 2024 23:47Joad NacerJoad NacerScore: 5,472Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 12, 2024 20:034,765300,357,823232,647,00038,941,000250,085,376
2Dec 12, 2024 20:034,787298,867,480230,902,00041,982,000250,077,184
3Dec 12, 2024 20:034,794296,698,520233,389,00039,895,000250,056,704
4Dec 12, 2024 20:034,798298,892,534233,547,00039,922,000250,253,312
5Dec 12, 2024 20:034,800301,727,632231,667,00041,939,000250,052,608
6Dec 12, 2024 20:034,800301,126,305230,661,00042,937,000250,273,792
7Dec 12, 2024 20:034,800295,951,634232,658,00040,939,000250,232,832
8Dec 12, 2024 20:034,804294,599,192232,835,00040,971,000250,081,280
9Dec 12, 2024 20:034,806302,881,629231,945,00041,990,000250,089,472
10Dec 7, 2024 23:475,472644,476,637235,474,00076,452,000265,879,552
11Dec 7, 2024 23:475,478615,267,270227,443,00084,792,000265,572,352
12Dec 7, 2024 23:475,514621,701,519235,739,00078,579,000265,662,464
13Dec 7, 2024 23:475,520611,723,994243,151,00071,515,000265,781,248
14Dec 7, 2024 23:475,524630,572,090236,656,00078,208,000265,781,248
15Dec 7, 2024 23:475,533620,330,008247,141,00068,248,000265,728,000
16Dec 7, 2024 23:475,549624,874,366235,930,00080,360,000265,527,296
17Dec 7, 2024 23:475,565629,992,614239,440,00077,792,000265,752,576
18Dec 7, 2024 23:475,581630,158,720245,474,00072,619,000265,789,440