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 22, 2024 01:28Yuriy LyfenkoYuriy LyfenkoScore: 5,738Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 01:285,6761,168,131,473260,884,00062,653,000265,244,672
2Jan 22, 2024 01:285,6801,166,730,901259,401,00064,347,000264,888,320
3Jan 22, 2024 01:285,6801,157,647,391255,826,00067,953,000264,458,240
4Jan 22, 2024 01:285,6871,173,598,020258,731,00065,437,000263,811,072
5Jan 22, 2024 01:285,7031,177,366,620255,324,00069,723,000265,674,752
6Jan 22, 2024 01:285,7291,193,015,464255,638,00070,899,000264,552,448
7Jan 22, 2024 01:285,7381,197,596,127264,912,00062,152,000263,700,480
8Jan 22, 2024 01:285,7641,193,061,574261,807,00066,715,000262,299,648
9Jan 22, 2024 01:285,7691,199,119,270247,865,00080,995,000262,590,464
10Jan 22, 2024 01:286,3221,257,686,405360,364,7670265,777,152
11Jan 22, 2024 01:286,3341,264,730,287361,021,3270265,637,888
12Jan 22, 2024 01:286,3451,270,236,360361,691,5050265,588,736