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 6, 2024 21:52Alexander FrolovAlexander FrolovScore: 4,478Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 6, 2024 21:524,357561,926,143248,332,0690266,252,288
2Jan 6, 2024 21:524,395553,695,155250,514,4090266,969,088
3Jan 6, 2024 21:524,440490,464,480204,566,00048,505,000267,952,128
4Jan 6, 2024 21:524,445487,892,042171,569,00081,794,000267,943,936
5Jan 6, 2024 21:524,456492,382,318182,469,00071,536,000267,866,112
6Jan 6, 2024 21:524,468572,073,334254,667,2630266,248,192
7Jan 6, 2024 21:524,478497,560,401191,682,00063,557,000267,644,928
8Jan 6, 2024 21:524,482487,148,330182,912,00072,568,000267,898,880
9Jan 6, 2024 21:524,499496,898,020190,594,00065,859,000267,874,304
10Jan 6, 2024 21:524,517505,400,007193,352,00064,106,000267,804,672
11Jan 6, 2024 21:524,524514,637,548175,566,00082,327,000267,915,264
12Jan 6, 2024 21:524,547509,373,284203,933,00055,231,000267,857,920