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 22, 2024 22:01Yuriy LyfenkoYuriy LyfenkoScore: 4,758Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 22:014,6921,141,287,520200,603,00066,867,000265,469,952
2Jan 22, 2024 22:014,7111,125,369,176204,477,00064,028,000265,875,456
3Jan 22, 2024 22:014,7321,145,748,893199,003,00070,711,000265,805,824
4Jan 22, 2024 22:014,7321,126,272,397199,555,00070,195,000264,151,040
5Jan 22, 2024 22:014,7431,160,724,041206,660,00063,668,000266,051,584
6Jan 22, 2024 22:014,7451,137,948,897199,572,00070,914,000265,748,480
7Jan 22, 2024 22:014,7581,141,480,109197,498,00073,693,000265,089,024
8Jan 22, 2024 22:014,7731,146,102,466204,052,00068,017,000263,106,560
9Jan 22, 2024 22:014,7881,146,678,261207,269,00065,669,000263,503,872
10Jan 22, 2024 22:014,8161,174,794,727274,484,3870266,567,680
11Jan 22, 2024 22:014,8481,191,131,323276,325,2880267,456,512
12Jan 22, 2024 22:014,8501,178,971,989276,451,2000266,067,968