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 26, 2024 23:18Joad NacerJoad NacerScore: 6,192Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 26, 2024 23:186,185628,664,702246,185,000106,352,000263,884,800
2Nov 26, 2024 23:186,192622,358,712250,692,000102,243,000263,823,360
3Nov 26, 2024 23:186,259619,256,797248,421,000108,334,000263,913,472