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 27, 2022 16:12Benjamin YoungBenjamin YoungScore: 428,033Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 27, 2022 16:12427,42424,721,477,86224,363,163,1920265,551,872
2Dec 27, 2022 16:12428,03324,827,758,34424,397,857,8640268,021,760
3Dec 27, 2022 16:12432,21125,036,565,33624,636,053,0890265,965,568