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 15:57Benjamin YoungBenjamin YoungScore: 427,891Success
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 15:57426,97424,751,721,58024,337,489,9170267,059,200
2Dec 27, 2022 15:57427,89124,767,011,26224,389,773,0590265,248,768
3Dec 27, 2022 15:57428,23024,813,442,39024,409,097,0140266,063,872