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 3, 2024 21:44Alexander FrolovAlexander FrolovScore: 5,224Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2024 21:445,061577,171,526288,483,0230267,575,296
2Jan 3, 2024 21:445,064576,261,119288,656,7270265,433,088
3Jan 3, 2024 21:445,148590,558,214293,432,7670266,395,648
4Jan 3, 2024 21:445,207541,347,524235,155,00061,663,000267,853,824
5Jan 3, 2024 21:445,221545,286,275220,498,00077,124,000267,874,304
6Jan 3, 2024 21:445,222542,052,582221,511,00076,144,000267,968,512
7Jan 3, 2024 21:445,224552,347,984234,033,00063,732,000267,874,304
8Jan 3, 2024 21:445,246557,090,984229,858,00069,160,000267,870,208
9Jan 3, 2024 21:445,252546,075,131232,139,00067,198,000267,657,216
10Jan 3, 2024 21:445,256553,994,974232,906,00066,691,000267,952,128
11Jan 3, 2024 21:445,270551,487,571224,566,00075,840,000267,857,920
12Jan 3, 2024 21:445,286550,470,884233,115,00068,204,000267,919,360