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 listMay 18, 2024 20:06Franek KortaFranek KortaScore: 24,037Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2024 20:0623,9411,659,836,5111,364,661,5560267,247,616
2May 18, 2024 20:0624,0371,650,763,3821,370,133,1430267,284,480
3May 18, 2024 20:0624,0481,664,071,0831,370,751,8480266,661,888