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 17:40Yuriy LyfenkoYuriy LyfenkoScore: 4,663Success
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 17:404,580571,739,143261,041,6080265,207,808
2Jan 22, 2024 17:404,600563,699,711262,226,7930265,564,160
3Jan 22, 2024 17:404,608505,687,097194,257,00068,386,000266,264,576
4Jan 22, 2024 17:404,615520,132,630204,838,00058,228,000266,432,512
5Jan 22, 2024 17:404,650566,731,579265,069,8570265,646,080
6Jan 22, 2024 17:404,655531,981,239197,255,00068,052,000265,969,664
7Jan 22, 2024 17:404,663523,419,188204,768,00061,016,000266,399,744
8Jan 22, 2024 17:404,680534,397,773208,767,00057,991,000262,320,128
9Jan 22, 2024 17:404,707576,173,085196,476,00071,808,000264,093,696
10Jan 22, 2024 17:404,713549,075,369193,323,00075,346,000264,564,736
11Jan 22, 2024 17:404,722549,645,778189,091,00080,074,000263,012,352
12Jan 22, 2024 17:404,729544,048,868194,080,00075,475,000262,701,056