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 listFeb 24, 2023 16:57Andranik ChakiryanAndranik ChakiryanScore: 5,684Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 24, 2023 16:575,62832,957,51416,010,0002,001,0002,351,104
2Feb 24, 2023 16:555,63233,703,39717,020,0001,001,0002,351,104
3Feb 24, 2023 16:575,63945,252,85415,038,0003,007,0002,342,912
4Feb 24, 2023 16:555,64842,219,68417,071,0001,004,0002,347,008
5Feb 24, 2023 16:575,65042,466,51115,066,0003,013,0002,342,912
6Feb 24, 2023 16:555,65447,510,15617,089,0001,005,0002,342,912
7Feb 24, 2023 16:555,66046,092,95116,100,0002,012,0002,342,912
8Feb 24, 2023 16:555,66447,603,04817,118,0001,006,0002,355,200
9Feb 24, 2023 16:575,66445,174,13217,118,0001,006,0002,359,296
10Feb 24, 2023 16:575,66642,636,24517,123,0001,007,0002,351,104
11Feb 24, 2023 16:555,67347,334,69317,147,0001,008,0002,355,200
12Feb 24, 2023 16:575,67751,587,27017,158,0001,009,0002,355,200
13Feb 24, 2023 16:575,68446,324,08716,169,0002,021,0002,469,888
14Feb 24, 2023 16:555,68641,981,36816,173,0002,021,0002,351,104
15Feb 24, 2023 16:575,68835,480,96717,192,0001,011,0002,342,912
16Feb 24, 2023 16:555,68940,387,83417,195,0001,011,0002,342,912
17Feb 24, 2023 16:555,70147,956,14217,229,0001,013,0002,351,104
18Feb 24, 2023 16:575,70847,128,00516,235,0002,029,0002,445,312
19Feb 24, 2023 16:555,71872,400,39618,298,66702,183,168
20Feb 24, 2023 16:575,72465,809,24118,315,74302,195,456
21Feb 24, 2023 16:555,82776,644,74118,644,82502,183,168
22Feb 24, 2023 16:575,83677,988,98918,674,66602,183,168
23Feb 24, 2023 16:555,90476,768,05918,893,03002,306,048
24Feb 24, 2023 16:575,91392,053,70418,923,02702,179,072