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 23:51Yuriy LyfenkoYuriy LyfenkoScore: 4,836Success
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 23:514,6091,179,153,044262,693,3590264,699,904
2Dec 29, 2023 23:514,6231,170,299,437263,514,9710266,690,560
3Dec 29, 2023 23:514,6721,174,881,328266,292,4480267,038,720
4Dec 29, 2023 23:514,7951,121,587,692203,686,00069,601,000267,841,536
5Dec 29, 2023 23:514,8081,118,283,739203,547,00070,536,000267,816,960
6Dec 29, 2023 23:514,8351,129,277,873200,414,00075,155,000267,931,648
7Dec 29, 2023 23:514,8361,127,293,152207,785,00067,890,000268,001,280
8Dec 29, 2023 23:514,8431,142,281,712200,050,00076,019,000267,964,416
9Dec 29, 2023 23:514,8491,134,702,134206,033,00070,377,000267,898,880
10Dec 29, 2023 23:514,9141,135,892,196199,349,00080,736,000267,788,288
11Dec 29, 2023 23:515,5131,154,622,010212,592,000101,629,000267,722,752
12Dec 29, 2023 23:515,9621,183,492,510210,562,000129,275,000267,673,600