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 listAug 21, 2024 10:08Andrey LikhachevAndrey LikhachevScore: 8,225Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 21, 2024 10:088,1811,010,416,555466,296,7390260,575,232
2Aug 21, 2024 10:088,2251,017,698,427468,815,7310263,266,304
3Aug 21, 2024 10:088,2271,030,638,827468,949,7860263,221,248