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, 2022 21:20Andrey TsvetkovAndrey TsvetkovScore: 24,414Success
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, 2022 21:2024,2962,813,096,7181,384,886,2270228,356,096
2Nov 26, 2022 21:2024,4143,092,853,2351,391,608,7290231,137,280
3Nov 26, 2022 21:2024,5302,979,296,4931,398,227,5690230,748,160