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:27Andrey TsvetkovAndrey TsvetkovScore: 22,943Success
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:2722,9422,391,541,7011,307,722,3060232,284,160
2Nov 26, 2022 21:2722,9432,367,475,6461,307,751,3940231,522,304
3Nov 26, 2022 21:2723,1182,508,129,4821,317,700,5470229,703,680