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 10, 2023 16:58Benjamin YoungBenjamin YoungScore: 429,437Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 10, 2023 16:58428,33524,833,765,70224,415,111,7790264,126,464
2Jan 10, 2023 16:58429,43724,977,697,50124,477,913,2280265,629,696
3Jan 10, 2023 16:58430,40424,940,319,74424,533,007,6910266,108,928