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 listDec 11, 2023 23:50Bohdan StorozhukBohdan StorozhukScore: 24,778Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 11, 2023 23:5024,7541,758,447,7491,410,987,8310266,321,920
2Dec 11, 2023 23:5024,7781,882,242,2501,412,370,6050266,616,832
3Dec 11, 2023 23:5024,8361,813,956,8101,415,642,3120266,588,160