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,554Success
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,553284,563,298233,594,00025,954,000250,261,504
2Dec 12, 2024 21:094,554283,395,636233,645,00025,960,000250,277,888
3Dec 12, 2024 21:094,692291,962,055239,500,00027,941,000250,286,080