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:39Simon ThorningtonSimon ThorningtonScore: 6,065Success
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:395,781614,447,822329,530,3400266,076,160
2Jan 2, 2024 06:395,803624,495,502330,752,4630266,788,864
3Jan 2, 2024 06:395,867647,698,932334,435,7210266,797,056
4Jan 2, 2024 06:395,901569,587,456278,575,00057,778,000268,091,392
5Jan 2, 2024 06:395,982583,362,919264,746,00076,200,000268,013,568
6Jan 2, 2024 06:396,002583,662,925275,737,00066,381,000267,943,936
7Jan 2, 2024 06:396,065581,699,451263,025,00082,693,000267,890,688
8Jan 2, 2024 06:396,069591,169,182267,914,00078,013,000268,005,376
9Jan 2, 2024 06:396,244603,140,473275,135,00080,746,000267,956,224
10Jan 2, 2024 06:396,295608,213,580271,634,00087,203,000268,009,472
11Jan 2, 2024 06:396,603617,351,202280,738,00095,613,000267,829,248
12Jan 2, 2024 06:396,614608,134,314282,760,00094,253,000267,657,216