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 17, 2024 00:04Mikhail ShirokovMikhail ShirokovScore: 27,259Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 17, 2024 00:0427,2291,580,698,3481,517,062,00034,978,000251,842,560
2Dec 17, 2024 00:0427,2321,584,863,0011,516,224,00035,981,000252,088,320
3Dec 17, 2024 00:0427,2321,579,310,5631,504,238,00047,975,000251,842,560
4Dec 17, 2024 00:0427,2461,575,188,3311,509,037,00043,971,000251,846,656
5Dec 17, 2024 00:0427,2591,576,265,5591,503,822,00049,960,000252,080,128
6Dec 17, 2024 00:0427,2731,580,349,3771,499,618,00054,949,000252,088,320
7Dec 17, 2024 00:0427,2761,580,419,3731,510,741,00043,963,000251,842,560
8Dec 17, 2024 00:0427,2841,584,464,2451,511,193,00043,976,000251,842,560
9Dec 17, 2024 00:0427,8131,613,165,7211,540,385,00044,982,000251,846,656