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 listJan 24, 2024 23:01Yuriy LyfenkoYuriy LyfenkoScore: 4,446Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 24, 2024 22:554,3931,096,989,837187,316,00063,106,000264,929,280
2Jan 24, 2024 22:554,4071,095,344,622189,147,00062,032,000264,806,400
3Jan 24, 2024 22:554,4081,099,661,074187,448,00063,833,000264,839,168
4Jan 24, 2024 23:014,4081,096,964,046192,304,00058,932,000264,691,712
5Jan 24, 2024 22:554,4151,101,858,650188,762,00062,920,000266,186,752
6Jan 24, 2024 22:554,4191,103,278,730184,111,00067,777,000264,716,288
7Jan 24, 2024 22:554,4251,095,427,443181,986,00070,222,000263,958,528
8Jan 24, 2024 23:014,4291,103,942,985191,136,00061,327,000264,925,184
9Jan 24, 2024 23:014,4341,099,980,833184,537,00068,198,000264,249,344
10Jan 24, 2024 22:554,4341,098,968,154184,551,00068,203,000265,936,896
11Jan 24, 2024 23:014,4451,118,899,039190,284,00063,088,000265,388,032
12Jan 24, 2024 23:014,4461,107,393,794189,310,00064,121,000265,945,088
13Jan 24, 2024 22:554,4461,139,721,517253,420,5290267,362,304
14Jan 24, 2024 22:554,4531,102,248,429191,673,00062,164,000264,089,600
15Jan 24, 2024 23:014,4621,114,565,485187,466,00066,880,000264,847,360
16Jan 24, 2024 22:554,4641,153,181,863254,453,1080266,403,840
17Jan 24, 2024 23:014,4691,112,794,570184,720,00070,031,000264,015,872
18Jan 24, 2024 23:014,4731,146,048,657254,937,1780264,273,920
19Jan 24, 2024 23:014,4741,148,586,754255,022,1520267,366,400
20Jan 24, 2024 23:014,4931,121,779,015183,089,00073,035,000262,504,448
21Jan 24, 2024 22:554,4941,120,040,220182,136,00074,023,000262,496,256
22Jan 24, 2024 23:014,4951,130,139,531187,145,00069,053,000265,433,088
23Jan 24, 2024 22:554,4981,162,551,229256,412,7180268,152,832
24Jan 24, 2024 23:014,5291,146,199,555258,126,9980266,170,368