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:46Vitaliy F.Vitaliy F.Score: 20,220Success
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 00:5620,1111,715,017,5561,146,344,9790262,787,072
2Dec 26, 2023 00:5620,1301,958,921,8531,147,401,2960261,967,872
3Dec 26, 2023 01:4620,1321,883,131,7331,147,501,7450262,684,672
4Dec 26, 2023 01:4620,2202,267,395,1461,152,556,2350262,594,560
5Dec 26, 2023 00:5620,2312,112,525,4221,153,163,6390260,472,832
6Dec 26, 2023 01:4620,2932,074,053,3511,156,708,3730262,746,112