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 listApr 21, 2025 07:02Pavel GusevPavel GusevScore: 398,709Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2025 07:02396,25522,627,975,22812,753,540,0009,833,019,000251,871,232
2Apr 21, 2025 07:02398,70922,767,608,40512,792,911,0009,933,495,000251,998,208
3Apr 21, 2025 07:02403,17023,016,113,96812,837,002,00010,143,680,000251,928,576