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 26, 2023 01:39Vitaliy F.Vitaliy F.Score: 20,428Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 26, 2023 01:3920,3451,671,730,3761,159,672,8780262,074,368
2Dec 26, 2023 01:3920,4281,658,608,2871,164,382,5470261,177,344
3Dec 26, 2023 01:3920,4351,981,816,1391,164,779,8020262,889,472