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 listJan 1, 2024 04:38Simon ThorningtonSimon ThorningtonScore: 8,691Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2024 04:388,623771,646,547491,536,1530266,940,416
2Jan 1, 2024 04:388,691780,647,767495,371,5600267,505,664
3Jan 1, 2024 04:388,721792,706,569497,102,1250264,814,592