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 27, 2022 11:20Andrey TsvetkovAndrey TsvetkovScore: 18,039Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2022 11:2018,0381,618,562,9991,028,175,0910264,908,800
2Nov 27, 2022 11:2018,0391,639,605,0511,028,221,5920264,335,360
3Nov 27, 2022 11:2018,0401,627,122,5131,028,283,1640265,793,536