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:41Alexander FrolovAlexander FrolovScore: 6,761Success
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:416,560616,291,700283,203,00090,705,000265,265,152
2Dec 27, 2023 12:416,625620,945,054291,002,00086,595,000265,441,280
3Dec 27, 2023 12:416,631605,797,971291,816,00086,126,000265,306,112
4Dec 27, 2023 12:416,642645,348,142282,936,00095,640,000264,519,680
5Dec 27, 2023 12:416,670891,770,348380,217,0970263,704,576
6Dec 27, 2023 12:416,693642,179,562286,393,00095,134,000265,359,360
7Dec 27, 2023 12:416,7611,053,856,732385,382,5400262,688,768
8Dec 27, 2023 12:416,793938,526,909387,227,6970262,762,496
9Dec 27, 2023 12:416,808623,756,252285,361,000102,690,000265,412,608
10Dec 27, 2023 12:416,821638,064,629284,227,000104,555,000264,986,624
11Dec 27, 2023 12:416,832633,904,524287,262,000102,160,000265,371,648
12Dec 27, 2023 12:417,078667,692,279287,745,000115,691,000265,375,744