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 19:22Yuriy LyfenkoYuriy LyfenkoScore: 5,589Success
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 19:225,54642,688,84617,747,00002,519,040
2May 11, 2021 19:225,58142,379,54115,875,0001,984,0002,519,040
3May 11, 2021 19:125,58135,224,49416,868,000992,0002,387,968
4May 11, 2021 19:125,58144,091,08315,876,0001,984,0002,392,064
5May 11, 2021 19:125,58242,087,49916,870,000992,0002,519,040
6May 11, 2021 19:125,58335,815,05816,875,000992,0002,392,064
7May 11, 2021 19:125,58647,529,22016,881,000993,0002,260,992
8May 11, 2021 19:225,58639,253,06515,888,0001,986,0002,260,992
9May 11, 2021 19:125,58746,659,45916,885,000993,0002,519,040
10May 11, 2021 19:225,58744,333,84515,891,0001,986,0002,519,040
11May 11, 2021 19:225,58843,983,64116,887,000993,0002,383,872
12May 11, 2021 19:225,58843,696,78114,902,0002,980,0002,392,064
13May 11, 2021 19:125,58946,263,07715,899,0001,987,0002,519,040
14May 11, 2021 19:225,59037,287,59116,894,000993,0002,387,968
15May 11, 2021 19:125,59143,541,99215,904,0001,988,0002,502,656
16May 11, 2021 19:125,59238,184,91016,901,000994,0002,387,968
17May 11, 2021 19:225,60350,190,67115,938,0001,992,0002,392,064
18May 11, 2021 19:225,60347,994,47816,932,000996,0002,519,040
19May 11, 2021 19:125,77175,196,57718,468,20402,277,376
20May 11, 2021 19:225,78494,099,78018,508,10002,281,472
21May 11, 2021 19:225,79478,235,76118,540,70402,281,472
22May 11, 2021 19:125,81489,735,44418,605,07302,289,664
23May 11, 2021 19:125,83475,611,54418,667,88502,285,568
24May 11, 2021 19:225,84179,073,16318,689,88702,285,568