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 listFeb 18, 2024 13:52Huy Duc LeHuy Duc LeScore: 24,017Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 18, 2024 13:5223,6851,691,448,9551,350,061,5090265,019,392
2Feb 18, 2024 13:5224,0171,935,527,0731,368,987,2500267,198,464
3Feb 18, 2024 13:5224,0281,914,885,7211,369,572,5560268,029,952