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 28, 2023 09:52Alexander FrolovAlexander FrolovScore: 7,233Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 28, 2023 09:527,131944,164,372406,459,0990263,868,416
2Dec 28, 2023 09:527,2331,003,314,551412,301,4900265,277,440
3Dec 28, 2023 09:527,2941,034,796,391415,749,8580263,229,440