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 29, 2024 22:12E SequeiraE SequeiraScore: 11,192Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 22:1211,187888,513,539552,421,00085,219,000266,960,896
2Nov 29, 2024 22:1211,192870,606,156546,818,00091,136,000266,964,992
3Nov 29, 2024 22:1211,252877,744,162550,182,00091,190,000266,977,280