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 listJan 18, 2025 18:29Alexander FrolovAlexander FrolovScore: 5,786Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 18, 2025 18:295,786354,553,050311,806,00017,988,000250,253,312
2Jan 18, 2025 18:295,786352,795,263306,838,00022,987,000250,019,840
3Jan 18, 2025 18:295,789361,309,812308,951,00020,996,000250,241,024