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 listNov 26, 2022 21:33Andrey TsvetkovAndrey TsvetkovScore: 24,689Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 26, 2022 21:3324,6721,871,935,6211,406,326,1330262,803,456
2Nov 26, 2022 21:3324,6891,922,710,3791,407,254,4160264,196,096
3Nov 26, 2022 21:3325,0662,771,835,8041,428,740,0350262,774,784