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 27, 2023 12:39Alexander FrolovAlexander FrolovScore: 9,399Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 27, 2023 12:399,3381,048,751,261532,289,9570264,806,400
2Dec 27, 2023 12:399,3991,237,689,579535,753,2570261,685,248
3Dec 27, 2023 12:399,4951,130,326,784541,223,8870263,557,120