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 2, 2024 22:03Joad NacerJoad NacerScore: 5,951Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 2, 2024 22:035,900594,147,183247,134,00089,162,000267,997,184
2Dec 2, 2024 22:035,951599,388,508259,065,00080,163,000268,091,392
3Dec 2, 2024 22:035,978602,609,910249,593,00091,137,000268,017,664