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:21Andrey TsvetkovAndrey TsvetkovScore: 23,997Success
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:2123,9882,612,000,9511,367,330,5120228,220,928
2Nov 26, 2022 21:2123,9973,067,290,4121,367,830,5560229,847,040
3Nov 26, 2022 21:2124,0003,029,089,9301,368,020,2540229,588,992