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:55Andrey TsvetkovAndrey TsvetkovScore: 22,537Success
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:5522,4971,804,791,0411,282,356,8000259,575,808
2Nov 26, 2022 21:5522,5371,891,933,3921,284,589,3230258,666,496
3Nov 26, 2022 21:5522,5991,871,629,8831,288,170,8350259,989,504