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 21:08Andrei KhilkoAndrei KhilkoScore: 31,380Success
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 21:0831,3362,171,563,8291,786,156,3810266,829,824
2Nov 27, 2022 21:0831,3802,201,630,4251,788,672,8900266,108,928
3Nov 27, 2022 21:0831,5062,154,183,1631,795,835,8940265,691,136