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 listDec 6, 2023 13:57Mohamed A.MMohamed A.MScore: 407,642Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2023 13:57407,25123,817,350,58523,213,299,6160266,989,568
2Dec 6, 2023 13:57407,64223,706,984,81523,235,572,1620266,526,720
3Dec 6, 2023 13:57421,19524,382,782,25424,008,089,8160266,051,584