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 21:05Yuriy LyfenkoYuriy LyfenkoError
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 21:1100000Error: line 7553612: expected 2499877823 got 24stderr
2Jan 21, 2024 21:194,5191,137,334,738257,601,8380267,313,152
3Jan 21, 2024 21:054,5281,141,787,079258,073,8480266,215,424
4Jan 21, 2024 21:054,5371,165,245,853258,626,1190267,616,256
5Jan 21, 2024 21:194,5401,135,140,840258,752,8110265,203,712
6Jan 21, 2024 21:194,5531,169,301,227259,519,1850264,208,384
7Jan 21, 2024 21:194,5611,111,913,462194,735,00065,246,000264,527,872
8Jan 21, 2024 21:194,5621,091,774,799196,767,00063,281,000266,018,816
9Jan 21, 2024 21:194,5671,103,096,487198,545,00061,792,000264,835,072
10Jan 21, 2024 21:054,5731,106,414,538195,008,00065,666,000265,015,296
11Jan 21, 2024 21:194,5771,102,366,009199,222,00061,688,000265,441,280
12Jan 21, 2024 21:054,5771,106,785,670192,172,00068,704,000264,646,656
13Jan 21, 2024 21:054,5861,127,085,269191,556,00069,838,000265,318,400
14Jan 21, 2024 21:194,5881,102,254,830192,919,00068,615,000264,519,680
15Jan 21, 2024 21:054,5911,154,469,829261,681,2970266,334,208
16Jan 21, 2024 21:194,6131,133,144,170193,629,00069,299,000264,605,696
17Jan 21, 2024 21:054,6171,117,133,885204,709,00058,488,000264,359,936
18Jan 21, 2024 21:054,6181,111,843,858195,910,00067,312,000265,117,696
19Jan 21, 2024 21:194,6491,127,651,178200,265,00064,701,000263,024,640
20Jan 21, 2024 21:194,6511,122,579,756186,837,00078,256,000264,007,680
21Jan 21, 2024 21:054,6601,118,368,922195,437,00070,157,000263,823,360
22Jan 21, 2024 21:054,6711,129,758,665204,887,00061,362,000262,709,248
23Jan 21, 2024 21:054,6791,136,861,924200,798,00065,918,000264,208,384
24Jan 21, 2024 21:194,6931,137,887,820199,127,00068,387,000261,828,608
25Jan 21, 2024 21:054,6991,163,257,339192,453,00075,394,000263,225,344