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 17, 2024 00:02Mikhail ShirokovMikhail ShirokovScore: 27,424Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 17, 2024 00:0227,3971,589,911,1991,507,694,00053,953,000251,830,272
2Dec 17, 2024 00:0227,4241,587,646,7491,522,187,00040,978,000251,830,272
3Dec 17, 2024 00:0227,8671,616,466,1711,535,451,00052,946,000251,830,272