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 01:28Yuriy LyfenkoYuriy LyfenkoScore: 5,940Success
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 01:285,8741,183,747,173269,283,00065,555,000265,596,928
2Jan 22, 2024 01:285,8971,183,337,484273,185,00062,964,000265,752,576
3Jan 22, 2024 01:285,9161,198,115,710270,361,00066,830,000266,100,736
4Jan 22, 2024 01:285,9361,210,296,646274,957,00063,373,000264,486,912
5Jan 22, 2024 01:285,9361,193,482,202275,159,00063,184,000262,619,136
6Jan 22, 2024 01:285,9371,220,228,405258,919,00079,518,000264,806,400
7Jan 22, 2024 01:285,9401,188,498,656270,461,00068,116,000262,729,728
8Jan 22, 2024 01:285,9571,198,036,556264,532,00075,016,000262,475,776
9Jan 22, 2024 01:285,9691,211,329,167271,777,00068,447,000262,746,112
10Jan 22, 2024 01:285,9841,233,965,377341,111,2430265,715,712
11Jan 22, 2024 01:286,0041,273,162,925342,219,3920265,433,088
12Jan 22, 2024 01:286,0491,247,394,906344,790,9500264,404,992