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 30, 2023 11:16Yurkov AlekseyYurkov AlekseyScore: 5,697Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2023 11:165,589561,100,491229,581,00089,000,000266,887,168
2Dec 30, 2023 11:165,608560,259,283228,180,00091,473,000266,919,936
3Dec 30, 2023 11:165,615570,435,481232,656,00087,373,000266,743,808
4Dec 30, 2023 11:165,624568,396,618227,573,00093,008,000266,813,440
5Dec 30, 2023 11:165,626565,430,152221,634,00099,049,000266,850,304
6Dec 30, 2023 11:165,667586,152,535229,730,00093,296,000266,883,072
7Dec 30, 2023 11:165,697709,809,058324,744,0690266,240,000
8Dec 30, 2023 11:165,729584,772,290236,645,00089,904,000266,928,128
9Dec 30, 2023 11:165,773565,777,501228,943,000100,101,000266,969,088
10Dec 30, 2023 11:165,800589,909,992232,334,00098,256,000266,825,728
11Dec 30, 2023 11:165,877766,460,618334,966,5650266,448,896
12Dec 30, 2023 11:165,959772,682,289339,674,1630266,448,896