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 21, 2023 19:28Alexander FrolovAlexander FrolovScore: 14,283Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2023 19:2814,2471,251,643,920812,080,2950267,145,216
2Dec 21, 2023 19:2814,2831,224,522,909814,140,0500265,314,304
3Dec 21, 2023 19:2814,3491,308,855,371817,871,1780266,702,848