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 12, 2024 21:09Joad NacerJoad NacerScore: 4,514Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 12, 2024 21:094,500284,373,999231,574,00024,954,000250,286,080
2Dec 12, 2024 21:094,514284,726,739232,380,00024,933,000250,191,872
3Dec 12, 2024 21:094,550285,248,299234,411,00024,937,000250,175,488