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 07:20Simon ThorningtonSimon ThorningtonScore: 8,339Success
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 07:128,296990,440,491472,853,5390266,379,264
2Dec 27, 2023 07:128,306953,649,971473,435,4770267,603,968
3Dec 27, 2023 07:208,3211,010,980,725474,312,1690267,366,400
4Dec 27, 2023 07:208,339978,443,898475,350,6700266,645,504
5Dec 27, 2023 07:128,3591,091,029,266476,458,2050267,067,392
6Dec 27, 2023 07:208,3601,030,750,776476,539,8160267,063,296