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 listMay 23, 2021 13:24Vladimir KuryakovVladimir KuryakovScore: 5,668Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 13:075,63837,073,42316,038,0002,004,0002,392,064
2May 23, 2021 13:075,63842,717,53316,038,0002,004,0002,383,872
3May 23, 2021 13:245,64148,129,66715,043,0003,008,0002,519,040
4May 23, 2021 13:075,64447,829,63716,055,0002,006,0002,519,040
5May 23, 2021 13:075,64543,341,30415,054,0003,010,0002,519,040
6May 23, 2021 13:075,65043,448,78517,075,0001,004,0002,519,040
7May 23, 2021 13:075,65244,267,55616,078,0002,009,0002,383,872
8May 23, 2021 13:245,65240,279,62915,073,0003,014,0002,387,968
9May 23, 2021 13:245,65935,263,88117,104,0001,006,0002,519,040
10May 23, 2021 13:245,66046,617,38115,093,0003,018,0002,519,040
11May 23, 2021 13:075,66648,045,59016,117,0002,014,0002,260,992
12May 23, 2021 13:075,66834,768,43916,124,0002,015,0002,519,040
13May 23, 2021 13:075,66844,772,83416,121,0002,015,0002,523,136
14May 23, 2021 13:245,66853,916,73617,129,0001,007,0002,506,752
15May 23, 2021 13:245,67142,776,17716,130,0002,016,0002,519,040
16May 23, 2021 13:245,67235,511,57317,142,0001,008,0002,519,040
17May 23, 2021 13:245,67343,039,25017,146,0001,008,0002,392,064
18May 23, 2021 13:245,68338,471,72717,174,0001,010,0002,519,040
19May 23, 2021 13:075,92771,421,43718,965,33102,281,472
20May 23, 2021 13:075,93989,562,12919,003,65002,281,472
21May 23, 2021 13:075,95585,416,98319,057,31502,277,376
22May 23, 2021 13:245,96790,634,19219,095,92202,269,184
23May 23, 2021 13:245,98371,019,58819,146,64002,273,280
24May 23, 2021 13:245,999100,692,69519,197,86202,281,472