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:24Alexander MonakovAlexander MonakovScore: 5,174Success
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:245,16144,306,43515,482,0001,032,0002,281,472
2Mar 16, 2023 00:245,16234,521,37915,487,0001,032,0002,281,472
3Mar 16, 2023 00:245,16932,831,26615,508,0001,033,0002,445,312
4Mar 16, 2023 00:245,17133,262,76115,514,0001,034,0002,281,472
5Mar 16, 2023 00:245,17340,707,63215,519,0001,034,0002,457,600
6Mar 16, 2023 00:245,17433,788,20615,523,0001,034,0002,281,472
7Mar 16, 2023 00:245,17442,656,34515,523,0001,034,0002,453,504
8Mar 16, 2023 00:245,17838,140,29815,534,0001,035,0002,457,600
9Mar 16, 2023 00:245,18435,326,03615,554,0001,036,0002,445,312
10Mar 16, 2023 00:245,34180,676,19617,090,15802,195,456
11Mar 16, 2023 00:245,35688,817,08917,137,63602,199,552
12Mar 16, 2023 00:245,36079,312,29517,152,12702,203,648