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 listMay 31, 2024 21:23Joad NacerJoad NacerScore: 10,735Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 31, 2024 21:2310,6641,156,836,103607,848,7910267,730,944
2May 31, 2024 21:2310,7351,147,317,447611,897,4080267,554,816
3May 31, 2024 21:2310,8141,161,008,679616,371,5550267,743,232