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 24, 2024 12:55Kyle WangKyle WangScore: 428,320Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2024 12:55427,99024,700,029,32624,395,448,0440265,658,368
2Apr 24, 2024 12:55428,32024,734,502,78424,414,266,0120266,252,288
3Apr 24, 2024 12:55428,80124,762,715,36924,441,681,0610264,495,104