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:35Andrey TsvetkovAndrey TsvetkovScore: 22,692Success
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:3522,6001,907,504,0761,288,195,5640263,983,104
2Nov 26, 2022 21:3522,6922,928,102,7651,293,432,4000261,464,064
3Nov 26, 2022 21:3523,1052,167,398,7791,316,992,1310261,533,696