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 21, 2024 22:22Yuriy LyfenkoYuriy LyfenkoScore: 5,065Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 22:225,0311,139,643,058221,572,00065,168,000264,957,952
2Jan 21, 2024 22:225,0331,131,068,765218,128,00068,725,000264,847,360
3Jan 21, 2024 22:225,0401,136,667,855220,758,00066,530,000264,585,216
4Jan 21, 2024 22:225,0471,142,891,857228,527,00059,172,000264,306,688
5Jan 21, 2024 22:225,0481,130,304,300221,087,00066,629,000264,630,272
6Jan 21, 2024 22:225,0541,192,375,458288,070,8760268,210,176
7Jan 21, 2024 22:225,0651,137,140,565220,838,00067,872,000264,757,248
8Jan 21, 2024 22:225,0681,143,398,295216,170,00072,712,000264,962,048
9Jan 21, 2024 22:225,0881,154,605,065221,546,00068,478,000264,245,248
10Jan 21, 2024 22:225,0931,177,290,088290,295,2860267,988,992
11Jan 21, 2024 22:225,1161,148,213,183232,081,00059,534,000263,581,696
12Jan 21, 2024 22:225,1171,200,012,115291,695,6000265,637,888