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 listOct 18, 2024 19:22Yuriy LyfenkoYuriy LyfenkoScore: 4,736Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 18, 2024 19:224,7331,116,360,660204,336,00065,427,000264,278,016
2Oct 18, 2024 19:224,7361,117,204,655203,466,00066,479,000265,707,520
3Oct 18, 2024 19:224,7851,133,987,114204,555,00068,185,000262,750,208