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 5, 2024 05:48Lucas Sta MariaLucas Sta MariaScore: 32,753Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2024 05:4832,7522,133,830,0401,764,242,000102,595,000268,079,104
2Nov 5, 2024 05:4832,7532,124,325,6091,756,358,000110,589,000268,107,776
3Nov 5, 2024 05:4832,7872,121,311,5391,777,568,00091,285,000268,095,488