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 19:19Alexander FrolovAlexander FrolovScore: 6,585Success
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 19:196,429658,811,138366,440,9310265,650,176
2Jan 5, 2024 19:196,476654,574,765369,116,3790265,428,992
3Jan 5, 2024 19:196,532685,409,001372,324,9930264,220,672
4Jan 5, 2024 19:196,573614,561,074298,157,00076,527,000267,902,976
5Jan 5, 2024 19:196,580612,767,359307,508,00067,550,000267,784,192
6Jan 5, 2024 19:196,584623,101,736308,149,00067,121,000267,907,072
7Jan 5, 2024 19:196,585617,525,458297,878,00077,448,000267,935,744
8Jan 5, 2024 19:196,585605,588,021309,289,00066,061,000267,825,152
9Jan 5, 2024 19:196,591608,678,326309,705,00066,002,000267,915,264
10Jan 5, 2024 19:196,599611,943,234302,959,00073,198,000267,972,608
11Jan 5, 2024 19:196,633616,231,085309,248,00068,832,000267,857,920
12Jan 5, 2024 19:196,672632,595,139311,138,00069,141,000267,968,512