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 18:12Yuriy LyfenkoYuriy LyfenkoScore: 5,249Success
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 18:125,0071,036,595,978222,086,00063,304,000266,932,224
2Dec 22, 2023 18:125,0671,039,402,414171,051,000117,790,000266,964,992
3Dec 22, 2023 18:125,0791,044,761,937211,842,00077,675,000266,690,560
4Dec 22, 2023 18:125,0921,052,789,472217,414,00072,808,000266,821,632
5Dec 22, 2023 18:125,0921,043,801,999195,849,00094,409,000266,862,592
6Dec 22, 2023 18:125,1201,049,224,551224,245,00067,580,000266,862,592
7Dec 22, 2023 18:125,2491,055,734,089187,747,000111,443,000266,854,400
8Dec 22, 2023 18:125,2571,033,609,885211,150,00088,481,000266,952,704
9Dec 22, 2023 18:125,2891,059,725,238190,942,000110,545,000266,821,632
10Dec 22, 2023 18:125,8001,380,878,079330,625,6030265,822,208
11Dec 22, 2023 18:125,8061,351,895,271330,919,9000266,776,576
12Dec 22, 2023 18:125,8361,430,521,917332,642,5940266,838,016