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 26, 2023 01:50Vitaliy F.Vitaliy F.Score: 20,425Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 26, 2023 01:4220,3981,926,419,3521,162,666,8270261,197,824
2Dec 26, 2023 01:0220,3992,560,972,7761,162,714,9660262,672,384
3Dec 26, 2023 01:0220,4162,664,640,7901,163,739,5250262,447,104
4Dec 26, 2023 01:4220,4201,745,166,5371,163,929,5040260,640,768
5Dec 26, 2023 01:5020,4251,666,821,6381,164,245,4750261,156,864
6Dec 26, 2023 01:5020,4272,095,185,9901,164,310,7680260,501,504
7Dec 26, 2023 01:4220,4402,062,531,0701,165,098,4570260,616,192
8Dec 26, 2023 01:0220,4631,824,757,6081,166,366,8030263,081,984
9Dec 26, 2023 01:5020,4632,038,879,5401,166,417,9610262,664,192