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 listDec 30, 2023 11:19Yurkov AlekseyYurkov AlekseyScore: 5,950Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2023 11:195,799580,406,615232,596,00097,935,000263,741,440
2Dec 30, 2023 11:195,834574,971,692233,089,00099,465,000263,835,648
3Dec 30, 2023 11:195,865598,726,304235,840,00098,437,000263,692,288
4Dec 30, 2023 11:195,868582,690,215225,906,000108,552,000263,757,824
5Dec 30, 2023 11:195,887586,665,491228,684,000106,852,000263,716,864
6Dec 30, 2023 11:195,944608,955,366224,202,000114,592,000263,688,192
7Dec 30, 2023 11:195,950601,309,507228,097,000111,047,000263,806,976
8Dec 30, 2023 11:195,962604,020,602226,547,000113,273,000263,680,000
9Dec 30, 2023 11:196,023604,696,397225,906,000117,392,000263,589,888
10Dec 30, 2023 11:196,363894,555,388362,713,8540261,509,120
11Dec 30, 2023 11:196,383858,060,568363,815,4580263,589,888
12Dec 30, 2023 11:196,390900,362,359364,220,9340260,579,328