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 8, 2024 05:29Yuriy LyfenkoYuriy LyfenkoScore: 4,581Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 8, 2024 05:294,5721,105,859,767191,309,00069,300,000265,256,960
2Dec 8, 2024 05:294,5811,115,626,846194,120,00067,005,000265,093,120
3Dec 8, 2024 05:294,6941,130,540,177193,674,00073,875,000262,979,584