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 listJan 2, 2024 06:51Simon ThorningtonSimon ThorningtonScore: 6,198Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2024 06:515,764639,202,446328,526,8240266,350,592
2Jan 2, 2024 06:505,797627,393,170330,408,1220266,924,032
3Jan 2, 2024 06:515,819635,100,461331,679,6160266,092,544
4Jan 2, 2024 06:515,837637,375,132332,720,2790264,716,288
5Jan 2, 2024 06:505,840631,712,390332,876,3540267,755,520
6Jan 2, 2024 06:515,864748,932,029265,408,00068,846,000267,976,704
7Jan 2, 2024 06:505,866639,573,190334,374,4010267,395,072
8Jan 2, 2024 06:505,933575,713,371262,821,00075,375,000267,833,344
9Jan 2, 2024 06:505,981585,397,982260,579,00080,328,000267,661,312
10Jan 2, 2024 06:505,987583,716,891267,988,00073,270,000266,706,944
11Jan 2, 2024 06:506,008594,692,227269,355,00073,096,000267,800,576
12Jan 2, 2024 06:516,042578,854,904270,797,00073,575,000267,948,032
13Jan 2, 2024 06:516,198681,641,174284,033,00069,226,000267,890,688
14Jan 2, 2024 06:506,270577,826,438280,299,00077,082,000267,993,088
15Jan 2, 2024 06:506,343597,502,141273,707,00087,831,000267,751,424
16Jan 2, 2024 06:516,460627,767,773282,795,00085,449,000267,079,680
17Jan 2, 2024 06:506,517624,684,592270,156,000101,308,000267,907,072
18Jan 2, 2024 06:506,595641,269,780273,570,000102,335,000267,751,424
19Jan 2, 2024 06:516,669611,967,656281,003,00099,117,000267,755,520
20Jan 2, 2024 06:516,720630,371,268275,892,000107,122,000267,849,728
21Jan 2, 2024 06:517,081749,454,063274,865,000128,747,000267,485,184
22Jan 2, 2024 06:517,085666,386,037293,806,000110,051,000266,567,680
23Jan 2, 2024 06:517,225751,814,582290,895,000120,956,000265,867,264
24Jan 2, 2024 06:507,266671,004,874288,164,000126,007,000267,472,896