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 listMar 16, 2023 00:10Alexander MonakovAlexander MonakovScore: 5,222Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2023 00:105,21044,062,55315,631,0001,042,0002,281,472
2Mar 16, 2023 00:105,21342,666,42016,682,00002,281,472
3Mar 16, 2023 00:105,21538,620,13215,645,0001,043,0002,281,472
4Mar 16, 2023 00:105,21742,347,93416,693,00002,404,352
5Mar 16, 2023 00:105,22044,821,62615,660,0001,044,0002,281,472
6Mar 16, 2023 00:105,22043,566,33316,705,00002,404,352
7Mar 16, 2023 00:105,22234,022,88416,711,00002,396,160
8Mar 16, 2023 00:105,27243,661,16616,869,00002,281,472
9Mar 16, 2023 00:105,27547,553,34014,894,0001,985,0002,281,472
10Mar 16, 2023 00:105,35977,654,31017,148,64402,293,760
11Mar 16, 2023 00:105,36475,188,33317,166,35702,289,664
12Mar 16, 2023 00:105,38679,278,46117,235,23102,289,664