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 15:14Yuriy LyfenkoYuriy LyfenkoScore: 5,144Success
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 15:145,0131,123,749,814196,442,00089,291,000266,821,632
2Dec 29, 2023 15:145,0301,125,852,542190,141,00096,548,000266,817,536
3Dec 29, 2023 15:145,0451,142,210,584203,992,00083,587,000266,919,936
4Dec 29, 2023 15:145,0541,140,787,469185,112,000102,950,000265,740,288
5Dec 29, 2023 15:145,0691,144,303,295190,973,00097,960,000266,903,552
6Dec 29, 2023 15:145,0781,139,383,681214,779,00074,661,000266,784,768
7Dec 29, 2023 15:145,1441,183,108,522293,208,6800267,157,504
8Dec 29, 2023 15:145,1671,176,775,909294,543,7500266,457,088
9Dec 29, 2023 15:145,1851,139,121,394196,041,00099,528,000266,969,088
10Dec 29, 2023 15:145,1861,207,747,498295,585,3030264,118,272
11Dec 29, 2023 15:145,2181,132,371,570204,668,00092,756,000266,883,072
12Dec 29, 2023 15:145,2801,159,420,229198,628,000102,354,000266,764,288