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 11, 2021 18:32Yuriy LyfenkoYuriy LyfenkoScore: 5,623Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 18:335,58646,427,85415,889,0001,986,0002,519,040
2May 11, 2021 18:325,58842,250,58415,894,0001,986,0002,519,040
3May 11, 2021 18:335,58943,648,04916,893,000993,0002,392,064
4May 11, 2021 18:335,59535,405,56615,914,0001,989,0002,523,136
5May 11, 2021 18:325,59534,410,60215,915,0001,989,0002,387,968
6May 11, 2021 18:325,59542,181,66117,905,00002,387,968
7May 11, 2021 18:335,60645,424,87416,942,000996,0002,519,040
8May 11, 2021 18:335,60643,485,72015,946,0001,993,0002,392,064
9May 11, 2021 18:325,60938,214,30715,955,0001,994,0002,519,040
10May 11, 2021 18:325,61142,659,14215,960,0001,995,0002,519,040
11May 11, 2021 18:325,61539,898,54415,972,0001,996,0002,519,040
12May 11, 2021 18:335,61743,362,33015,976,0001,997,0002,387,968
13May 11, 2021 18:325,62345,068,59715,995,0001,999,0002,519,040
14May 11, 2021 18:335,62436,547,26515,999,0001,999,0002,519,040
15May 11, 2021 18:335,63041,082,80316,014,0002,001,0002,387,968
16May 11, 2021 18:325,63047,032,41316,014,0002,001,0002,396,160
17May 11, 2021 18:325,63339,643,35414,020,0004,005,0002,519,040
18May 11, 2021 18:335,70248,622,34917,233,0001,013,0002,387,968
19May 11, 2021 18:325,812102,811,78818,597,33602,269,184
20May 11, 2021 18:325,82583,954,03918,640,52902,285,568
21May 11, 2021 18:335,83293,193,50318,661,83102,273,280
22May 11, 2021 18:335,84077,694,20718,687,84502,269,184
23May 11, 2021 18:325,84578,606,04818,705,36602,277,376
24May 11, 2021 18:335,86295,328,51318,758,50102,285,568