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: 23,931Success
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:2023,8363,046,226,6561,358,669,6390229,990,400
2Nov 26, 2022 21:2023,9313,043,037,3001,364,083,5440231,669,760
3Nov 26, 2022 21:2024,0742,948,995,0391,372,191,7990229,367,808