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:24Andrey TsvetkovAndrey TsvetkovScore: 23,017Success
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:2422,9392,735,661,1311,307,532,7350225,742,848
2Nov 26, 2022 21:2423,0172,886,443,9991,311,984,0290227,115,008
3Nov 26, 2022 21:2423,0582,760,617,7721,314,315,7080223,965,184