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 19:06Yuriy LyfenkoYuriy LyfenkoScore: 5,043Success
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 19:064,7811,177,960,546272,490,5660267,530,240
2Dec 29, 2023 19:064,8121,180,617,463274,302,4530266,121,216
3Dec 29, 2023 19:064,8521,190,992,296276,554,1230266,256,384
4Dec 29, 2023 19:064,9621,118,397,959217,938,00064,874,000268,021,760
5Dec 29, 2023 19:064,9901,131,380,146208,368,00076,039,000267,825,152
6Dec 29, 2023 19:065,0401,146,585,520213,423,00073,838,000267,784,192
7Dec 29, 2023 19:065,0431,151,575,340215,080,00072,363,000267,976,704
8Dec 29, 2023 19:065,0441,138,799,410219,220,00068,315,000267,857,920
9Dec 29, 2023 19:065,0771,149,389,318211,839,00077,575,000266,567,680
10Dec 29, 2023 19:065,5311,169,531,424226,179,00089,070,000267,866,112
11Dec 29, 2023 19:066,1021,205,073,597231,199,000116,605,000267,718,656
12Dec 29, 2023 19:066,1861,208,552,521228,755,000123,867,000267,644,928