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 12, 2023 10:27Pavel BurakPavel BurakError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 12, 2023 10:2700000Error: Exit with code 1: 2023/12/12 10:28:24 strconv.Atoi: parsing "\xc1\xc2\xd22\xfbp~/\x83g\xbb [\xb6C\x1f\xc1\x00\x02^\xacY3C\xf8D\x8cuO\x00pu\vvf\xaa#\xf2ݰ\xb6ƭ\xa0\xe6\xf3\xfd\xe3\x0f$G\xac\x92F\x18&\xb5\xfe\xc1\x02\xf5nL\xc0G\x9c\x8a`0\xdd?\xa8...stderr