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 27, 2023 12:44Alexander FrolovAlexander FrolovScore: 6,781Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 27, 2023 12:446,735945,512,969383,892,0160264,839,168
2Dec 27, 2023 12:446,750659,172,208302,079,00082,663,000265,396,224
3Dec 27, 2023 12:446,757958,390,628385,175,7590262,529,024
4Dec 27, 2023 12:446,7641,254,314,431385,544,9350265,113,600
5Dec 27, 2023 12:446,781631,402,567292,156,00094,342,000265,523,200
6Dec 27, 2023 12:446,781633,282,019292,412,00094,097,000265,433,088
7Dec 27, 2023 12:446,781638,119,863293,713,00092,805,000265,453,568
8Dec 27, 2023 12:446,835629,809,809298,908,00090,703,000264,523,776
9Dec 27, 2023 12:446,901634,228,178304,564,00088,788,000265,510,912
10Dec 27, 2023 12:447,043639,660,491290,148,000111,289,000265,486,336
11Dec 27, 2023 12:447,134649,892,488299,687,000106,959,000265,539,584
12Dec 27, 2023 12:447,188659,849,880299,988,000109,727,000265,531,392