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 5, 2024 22:09Alexander FrolovAlexander FrolovScore: 5,027Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2024 22:094,876571,976,076277,957,8090267,390,976
2Jan 5, 2024 22:094,926579,899,942280,801,8820266,403,840
3Jan 5, 2024 22:094,927591,161,165280,855,6490264,495,104
4Jan 5, 2024 22:095,019523,089,462218,696,00067,371,000267,825,152
5Jan 5, 2024 22:095,023525,534,005212,506,00073,828,000267,907,072
6Jan 5, 2024 22:095,026524,506,506208,983,00077,510,000267,829,248
7Jan 5, 2024 22:095,027520,145,599221,525,00065,035,000267,804,672
8Jan 5, 2024 22:095,034530,761,969209,839,00077,103,000267,968,512
9Jan 5, 2024 22:095,079531,077,147209,188,00080,304,000267,898,880
10Jan 5, 2024 22:095,081549,679,842214,405,00075,194,000267,739,136
11Jan 5, 2024 22:095,088540,775,383210,005,00080,001,000267,780,096
12Jan 5, 2024 22:095,108540,725,535222,661,00068,511,000267,800,576