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 listNov 13, 2024 16:02Dan StolyarovDan StolyarovScore: 366,641Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 13, 2024 16:02365,56321,085,959,8129,453,681,00011,383,412,000264,073,216
2Nov 13, 2024 16:02366,01421,105,969,5769,543,546,00011,319,276,000264,069,120
3Nov 13, 2024 16:02366,27221,137,502,8929,413,423,00011,464,079,000264,015,872
4Nov 13, 2024 16:02366,28621,127,682,0389,375,633,00011,502,642,000264,077,312
5Nov 13, 2024 16:02366,64121,162,066,1749,484,151,00011,414,368,000264,065,024
6Nov 13, 2024 16:02366,75321,161,248,2809,407,425,00011,497,520,000264,040,448
7Nov 13, 2024 16:02367,16121,183,653,3349,400,487,00011,527,692,000264,089,600
8Nov 13, 2024 16:02367,83521,232,195,9289,593,656,00011,372,963,000264,019,968
9Nov 13, 2024 16:02373,55021,553,516,7819,481,814,00011,810,522,000263,962,624