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 listFeb 15, 2024 16:11Ryan Chung Yi ShengRyan Chung Yi ShengScore: 7,580Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 15, 2024 16:117,576745,040,643431,821,1460265,666,560
2Feb 15, 2024 11:327,577745,653,262431,887,1780267,706,368
3Feb 15, 2024 11:327,578734,035,199431,937,4200265,609,216
4Feb 15, 2024 16:117,580736,910,699432,080,1010265,248,768
5Feb 15, 2024 11:327,598741,360,118433,086,1010265,895,936
6Feb 15, 2024 16:117,603742,684,693433,393,9720266,276,864