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 20, 2023 22:39DarkclainerDarkclainerScore: 5,380Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 20, 2023 22:395,35343,316,50316,123,0001,007,0002,363,392
2Feb 20, 2023 22:395,35739,786,16915,126,0002,016,0002,289,664
3Feb 20, 2023 22:395,36633,589,50515,152,0002,020,0002,289,664
4Feb 20, 2023 22:395,36832,070,92516,168,0001,010,0002,289,664
5Feb 20, 2023 22:395,37232,628,37116,178,0001,011,0002,289,664
6Feb 20, 2023 22:395,37238,467,85016,179,0001,011,0002,379,776
7Feb 20, 2023 22:395,38043,081,88816,205,0001,012,0002,289,664
8Feb 20, 2023 22:395,39344,659,22815,228,0002,030,0002,473,984
9Feb 20, 2023 22:395,41546,697,13015,290,0002,038,0002,289,664
10Feb 20, 2023 22:395,56976,433,22717,821,64502,256,896
11Feb 20, 2023 22:395,578102,220,72217,849,09302,273,280
12Feb 20, 2023 22:395,58579,894,93217,870,94202,240,512