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 21, 2023 23:35Kenneth MaplesKenneth MaplesScore: 5,258Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2023 23:355,178534,645,238221,339,00073,779,000268,009,472
2Dec 21, 2023 23:355,188537,192,294230,434,00065,255,000268,066,816
3Dec 21, 2023 23:355,191532,926,686230,928,00064,948,000267,939,840
4Dec 21, 2023 23:355,192539,472,755229,948,00065,994,000267,857,920
5Dec 21, 2023 23:355,222547,796,364217,368,00080,289,000267,886,592
6Dec 21, 2023 23:355,253549,900,463222,263,00077,132,000267,915,264
7Dec 21, 2023 23:355,258561,488,077222,314,00077,412,000267,956,224
8Dec 21, 2023 23:355,259560,556,825228,079,00071,710,000268,062,720
9Dec 21, 2023 23:355,265550,450,862231,416,00068,717,000267,845,632
10Dec 21, 2023 23:355,3031,088,154,997302,295,9990266,321,920
11Dec 21, 2023 23:355,3921,146,241,350307,337,3870266,321,920
12Dec 21, 2023 23:355,4091,232,957,663308,322,8990267,513,856