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 1, 2022 03:30Yuriy LyfenkoYuriy LyfenkoScore: 5,335Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 1, 2022 03:305,2851,046,566,833207,480,00093,765,000266,858,496
2Dec 1, 2022 03:305,2931,036,994,743211,482,00090,205,000266,989,568
3Dec 1, 2022 03:305,3161,060,194,006220,260,00082,726,000266,948,608
4Dec 1, 2022 03:305,3271,342,283,618303,652,9990265,437,184
5Dec 1, 2022 03:305,3281,050,844,200213,593,00090,094,000266,883,072
6Dec 1, 2022 03:305,3341,058,141,227208,305,00095,761,000266,911,744
7Dec 1, 2022 03:305,3351,070,869,646208,331,00095,773,000266,862,592
8Dec 1, 2022 03:305,3441,067,903,254216,981,00087,607,000266,833,920
9Dec 1, 2022 03:305,3451,442,213,723304,642,3750266,559,488
10Dec 1, 2022 03:305,3471,059,627,587213,134,00091,627,000266,915,840
11Dec 1, 2022 03:305,3631,056,697,546206,768,00098,932,000265,760,768
12Dec 1, 2022 03:305,3951,416,844,382307,517,1010264,118,272