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 30, 2023 12:03Yurkov AlekseyYurkov AlekseyScore: 5,633Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2023 12:035,577550,813,997225,105,00092,806,000266,797,056
2Dec 30, 2023 12:035,586550,687,524234,411,00084,014,000266,993,664
3Dec 30, 2023 12:035,614586,843,607227,419,00092,577,000266,743,808
4Dec 30, 2023 12:035,616564,962,613228,063,00092,025,000266,756,096
5Dec 30, 2023 12:035,621564,161,234227,855,00092,535,000266,858,496
6Dec 30, 2023 12:035,632560,613,329233,672,00087,373,000266,928,128
7Dec 30, 2023 12:035,633567,720,879225,038,00096,016,000266,792,960
8Dec 30, 2023 12:035,695569,956,321233,775,00090,856,000266,919,936
9Dec 30, 2023 12:035,704695,018,518325,153,5060266,235,904
10Dec 30, 2023 12:035,718703,341,378325,901,1580266,260,480
11Dec 30, 2023 12:035,720576,123,187224,335,000101,698,000266,887,168
12Dec 30, 2023 12:035,962772,707,932339,836,9230266,436,608