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 21, 2024 22:30Yuriy LyfenkoYuriy LyfenkoScore: 5,509Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 22:305,4601,196,678,691311,223,3570266,817,536
2Jan 21, 2024 22:305,4651,224,639,770311,496,9930266,006,528
3Jan 21, 2024 22:305,4801,150,519,314242,165,00070,178,000264,364,032
4Jan 21, 2024 22:305,4881,165,192,803248,434,00064,371,000264,769,536
5Jan 21, 2024 22:305,5011,231,169,266313,569,5700265,330,688
6Jan 21, 2024 22:305,5091,176,425,483252,243,00061,773,000265,998,336
7Jan 21, 2024 22:305,5091,168,631,969239,920,00074,121,000264,118,272
8Jan 21, 2024 22:305,5431,176,572,147247,322,00068,644,000263,737,344
9Jan 21, 2024 22:305,5441,176,536,142242,232,00073,766,000262,766,592
10Jan 21, 2024 22:305,5531,169,919,023256,135,00060,389,000263,016,448
11Jan 21, 2024 22:305,5581,177,664,942249,083,00067,750,000262,516,736
12Jan 21, 2024 22:305,5841,191,185,120246,659,00071,610,000262,598,656