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 30, 2024 22:50Joad NacerJoad NacerScore: 4,510Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2024 22:504,493282,180,128235,092,00021,008,000250,044,416
2Dec 30, 2024 22:504,510283,011,107235,046,00022,004,000250,040,320
3Dec 30, 2024 22:504,511282,251,770231,109,00026,012,000250,286,080