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:12Yuriy LyfenkoYuriy LyfenkoScore: 5,278Success
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:124,9451,167,113,452281,849,8970267,128,832
2Dec 29, 2023 16:124,9721,181,604,552283,404,7720266,747,904
3Dec 29, 2023 16:125,0801,208,426,305289,563,8860264,110,080
4Dec 29, 2023 16:125,2681,139,524,232206,448,00093,840,000266,952,704
5Dec 29, 2023 16:125,2751,146,972,121210,766,00089,900,000266,792,960
6Dec 29, 2023 16:125,2761,154,208,662201,452,00099,252,000266,764,288
7Dec 29, 2023 16:125,2781,133,918,618217,874,00082,999,000266,911,744
8Dec 29, 2023 16:125,3181,159,118,003217,842,00085,287,000266,952,704
9Dec 29, 2023 16:125,3401,167,362,594214,926,00089,467,000266,956,800
10Dec 29, 2023 16:125,3431,145,628,285209,320,00095,236,000266,985,472
11Dec 29, 2023 16:125,3491,136,656,979214,862,00090,037,000266,960,896
12Dec 29, 2023 16:125,4071,150,047,675214,302,00093,884,000266,919,936