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 listDec 22, 2023 14:17Yuriy LyfenkoYuriy LyfenkoScore: 5,737Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2023 14:175,5811,360,604,556318,092,9420265,129,984
2Dec 22, 2023 14:175,6121,690,728,876319,904,1550263,811,072
3Dec 22, 2023 14:175,6661,473,281,655322,975,8740264,589,312
4Dec 22, 2023 14:175,7051,070,670,743232,690,00092,479,000266,936,320
5Dec 22, 2023 14:175,7281,062,110,246230,346,00096,144,000267,005,952
6Dec 22, 2023 14:175,7341,076,242,853235,609,00091,236,000266,752,000
7Dec 22, 2023 14:175,7371,073,539,548238,191,00088,817,000266,809,344
8Dec 22, 2023 14:175,7671,080,039,983238,538,00090,203,000265,986,048
9Dec 22, 2023 14:175,7711,090,878,359234,540,00094,412,000266,870,784
10Dec 22, 2023 14:175,8211,065,583,218228,371,000103,450,000266,772,480
11Dec 22, 2023 14:175,8311,065,869,429236,696,00095,685,000266,690,560
12Dec 22, 2023 14:175,8851,082,632,217235,405,000100,022,000266,702,848