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 21, 2023 21:51Alexander FrolovAlexander FrolovScore: 22,554Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2023 21:5122,4694,167,287,8711,280,719,2350180,289,536
2Dec 21, 2023 21:5122,5543,985,216,8911,285,576,6530181,063,680
3Dec 21, 2023 21:5122,9983,987,447,6071,310,869,4850181,096,448