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 12, 2023 03:04Bohdan StorozhukBohdan StorozhukScore: 8,599Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 12, 2023 03:048,527922,096,089486,045,4200266,145,792
2Dec 12, 2023 03:048,599950,776,372490,131,3370266,027,008
3Dec 12, 2023 03:048,653971,412,001493,224,6000265,359,360