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 18:20Yuriy LyfenkoYuriy LyfenkoScore: 5,510Success
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 18:205,1801,427,542,797295,247,3280264,687,616
2Dec 22, 2023 18:205,2451,468,888,812298,989,1190266,186,752
3Dec 22, 2023 18:205,2491,530,511,175299,165,1840264,892,416
4Dec 22, 2023 18:205,4491,160,256,159229,836,00080,753,000266,948,608
5Dec 22, 2023 18:205,4611,153,098,612222,785,00088,504,000266,895,360
6Dec 22, 2023 18:205,5001,162,491,275228,297,00085,231,000266,113,024
7Dec 22, 2023 18:205,5101,170,127,354223,778,00090,314,000266,997,760
8Dec 22, 2023 18:205,5231,157,845,510223,727,00091,074,000266,452,992
9Dec 22, 2023 18:205,5271,169,517,862220,823,00094,204,000266,891,264
10Dec 22, 2023 18:205,6491,163,819,588221,130,000100,884,000266,973,184
11Dec 22, 2023 18:205,6621,162,779,029218,159,000104,596,000266,776,576
12Dec 22, 2023 18:205,7001,176,519,429217,917,000106,977,000266,809,344