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 26, 2024 17:32Joad NacerJoad NacerScore: 4,192Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 26, 2024 17:324,186268,191,745212,624,00025,954,000250,281,984
2Dec 26, 2024 17:324,192258,817,557215,971,00022,997,000250,191,872
3Dec 26, 2024 17:324,200268,693,491213,452,00025,933,000250,298,368