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 29, 2023 16:38Yuriy LyfenkoYuriy LyfenkoScore: 5,090Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2023 16:384,9701,113,707,329201,770,00081,523,000266,784,768
2Dec 29, 2023 16:385,0051,126,065,644202,350,00082,963,000266,989,568
3Dec 29, 2023 16:385,0471,132,130,007215,773,00071,924,000266,924,032
4Dec 29, 2023 16:385,0621,138,406,303198,624,00089,924,000266,989,568
5Dec 29, 2023 16:385,0651,134,906,904201,984,00086,705,000266,924,032
6Dec 29, 2023 16:385,0751,151,356,493187,049,000102,212,000266,895,360
7Dec 29, 2023 16:385,0901,137,057,108186,649,000103,468,000266,735,616
8Dec 29, 2023 16:385,1311,151,445,936201,311,00091,141,000266,768,384
9Dec 29, 2023 16:385,1471,163,609,068198,281,00095,093,000266,862,592
10Dec 29, 2023 16:385,2741,188,433,446300,644,3310265,637,888
11Dec 29, 2023 16:385,2941,206,866,804301,739,1290266,100,736
12Dec 29, 2023 16:385,3141,196,034,124302,889,6970265,760,768