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 listJan 2, 2023 16:34Hal FHal FScore: 4,893Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 16:284,85038,894,85815,519,00002,289,664
2Jan 2, 2023 16:284,85434,463,50414,499,0001,035,0002,273,280
3Jan 2, 2023 16:284,86333,367,22714,524,0001,037,0002,269,184
4Jan 2, 2023 16:284,86436,418,91414,528,0001,037,0002,289,664
5Jan 2, 2023 16:344,86633,961,53914,532,0001,038,0002,396,160
6Jan 2, 2023 16:284,86836,823,96014,540,0001,038,0002,289,664
7Jan 2, 2023 16:344,86838,804,51214,541,0001,038,0002,527,232
8Jan 2, 2023 16:284,87044,330,67815,584,00002,289,664
9Jan 2, 2023 16:344,87336,171,08014,554,0001,039,0002,273,280
10Jan 2, 2023 16:344,88637,335,09614,593,0001,042,0002,273,280
11Jan 2, 2023 16:284,89245,772,83315,655,00002,289,664
12Jan 2, 2023 16:344,89332,734,59414,613,0001,043,0002,289,664
13Jan 2, 2023 16:344,89333,901,34715,656,00002,289,664
14Jan 2, 2023 16:284,89737,660,31814,627,0001,044,0002,289,664
15Jan 2, 2023 16:284,89833,280,19814,628,0001,044,0002,289,664
16Jan 2, 2023 16:344,90043,845,57314,634,0001,045,0002,265,088
17Jan 2, 2023 16:344,90949,755,16314,662,0001,047,0002,269,184
18Jan 2, 2023 16:344,91042,227,00115,713,00002,289,664
19Jan 2, 2023 16:346,09587,783,47719,503,60002,174,976
20Jan 2, 2023 16:286,128105,142,55819,609,29302,285,568
21Jan 2, 2023 16:346,13192,972,39319,620,14702,174,976
22Jan 2, 2023 16:286,134100,839,57419,629,92702,293,760
23Jan 2, 2023 16:286,19199,612,76119,809,65902,293,760
24Jan 2, 2023 16:346,19294,835,48319,813,76802,301,952