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 15:56Yuriy LyfenkoYuriy LyfenkoScore: 5,562Success
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 15:565,2911,559,675,238301,614,1730263,077,888
2Dec 29, 2023 15:565,4231,556,563,512309,086,4010262,467,584
3Dec 29, 2023 15:565,4911,150,310,300237,804,00075,203,000265,920,512
4Dec 29, 2023 15:565,4991,143,030,092222,726,00090,703,000265,904,128
5Dec 29, 2023 15:565,5271,150,638,981216,878,00098,134,000265,871,360
6Dec 29, 2023 15:565,5601,160,019,098223,369,00093,573,000265,879,552
7Dec 29, 2023 15:565,5621,161,020,371230,111,00086,930,000265,932,800
8Dec 29, 2023 15:565,5721,152,355,749221,624,00095,971,000265,932,800
9Dec 29, 2023 15:565,5771,568,314,380317,911,0190264,118,272
10Dec 29, 2023 15:565,5811,167,470,654227,526,00090,607,000265,793,536
11Dec 29, 2023 15:565,6001,163,167,552229,416,00089,771,000265,781,248
12Dec 29, 2023 15:565,6311,168,266,055228,415,00092,573,000265,760,768