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 16:59Yuriy LyfenkoYuriy LyfenkoScore: 5,355Success
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 16:595,3101,044,366,659219,756,00082,927,000266,989,568
2Dec 22, 2023 16:595,3181,044,916,606214,794,00088,326,000266,960,896
3Dec 22, 2023 16:595,3251,044,051,862210,208,00093,316,000266,997,760
4Dec 22, 2023 16:595,3411,050,158,886218,478,00085,941,000266,788,864
5Dec 22, 2023 16:595,3431,055,155,320208,960,00095,609,000266,903,552
6Dec 22, 2023 16:595,3551,409,335,068305,256,1640266,022,912
7Dec 22, 2023 16:595,3551,056,514,444217,020,00088,227,000266,969,088
8Dec 22, 2023 16:595,3771,499,468,780306,463,2740263,839,744
9Dec 22, 2023 16:595,3771,391,842,958306,502,1580266,633,216
10Dec 22, 2023 16:595,4741,076,818,883212,645,00099,367,000266,809,344
11Dec 22, 2023 16:595,4791,056,624,048223,227,00089,086,000266,940,416
12Dec 22, 2023 16:595,5091,055,029,925214,442,00099,598,000266,866,688