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 23:10Alexander FrolovAlexander FrolovScore: 5,052Success
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 23:104,881574,692,044278,239,0790267,210,752
2Jan 5, 2024 23:104,904560,460,208279,545,1900265,420,800
3Jan 5, 2024 23:104,913570,646,632280,014,8080265,121,792
4Jan 5, 2024 23:105,006522,824,678200,708,00084,612,000267,943,936
5Jan 5, 2024 23:105,034516,351,656217,704,00069,224,000267,890,688
6Jan 5, 2024 23:105,040528,564,732217,242,00070,045,000267,100,160
7Jan 5, 2024 23:105,052523,731,925215,713,00072,238,000267,902,976
8Jan 5, 2024 23:105,081535,669,720216,976,00072,661,000267,866,112
9Jan 5, 2024 23:105,086537,430,956221,706,00068,217,000267,952,128
10Jan 5, 2024 23:105,089549,547,419214,841,00075,244,000267,939,840
11Jan 5, 2024 23:105,091532,400,836222,335,00067,848,000267,907,072
12Jan 5, 2024 23:105,095548,154,325216,564,00073,851,000267,923,456