Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listDec 16, 2024 23:22RichardRichardScore: 5,810Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 16, 2024 23:225,75638,411,76218,420,00002,375,680
2Dec 16, 2024 23:225,76735,686,69417,428,0001,025,0002,285,568
3Dec 16, 2024 23:225,76738,522,93817,429,0001,025,0002,285,568
4Dec 16, 2024 23:225,78843,837,00417,493,0001,029,0002,285,568
5Dec 16, 2024 23:225,81035,489,57918,592,00002,367,488
6Dec 16, 2024 23:225,81843,470,62217,585,0001,034,0002,379,776
7Dec 16, 2024 23:225,82745,613,07718,646,00002,285,568
8Dec 16, 2024 23:225,82844,353,72117,615,0001,036,0002,375,680
9Dec 16, 2024 23:225,92147,711,61616,953,0001,994,0002,379,776