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 21, 2023 19:09Alexander FrolovAlexander FrolovScore: 20,303Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2023 19:0920,1091,540,328,2371,146,230,6270266,944,512
2Dec 21, 2023 19:0920,3031,644,434,6101,157,292,4510266,960,896
3Dec 21, 2023 19:0920,3211,666,228,1941,158,292,6770265,760,768