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 listNov 27, 2022 17:21apuxbtapuxbtScore: 31,416Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2022 17:2131,2842,253,697,0731,783,186,9320264,478,720
2Nov 27, 2022 17:2131,4162,287,301,2531,790,709,5030264,491,008
3Nov 27, 2022 17:2131,4192,586,119,0781,790,899,4180268,124,160