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 16, 2021 15:59Yuriy LyfenkoYuriy LyfenkoScore: 5,472Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 15:595,42437,202,72013,273,0004,084,0002,519,040
2May 16, 2021 16:005,43638,110,46315,348,0002,046,0002,260,992
3May 16, 2021 15:595,44533,535,37116,399,0001,024,0002,392,064
4May 16, 2021 15:595,44539,754,77017,425,00002,396,160
5May 16, 2021 16:005,44738,959,52915,381,0002,050,0002,265,088
6May 16, 2021 16:005,44838,630,18716,408,0001,025,0002,387,968
7May 16, 2021 16:005,45138,345,96117,444,00002,523,136
8May 16, 2021 16:005,45539,059,86617,457,00002,519,040
9May 16, 2021 15:595,45632,061,58517,458,00002,523,136
10May 16, 2021 15:595,45942,625,80215,415,0002,055,0002,383,872
11May 16, 2021 15:595,46041,123,56615,418,0002,055,0002,387,968
12May 16, 2021 16:005,46341,052,56916,454,0001,028,0002,519,040
13May 16, 2021 15:595,47236,199,34617,511,00002,506,752
14May 16, 2021 16:005,47338,504,83316,485,0001,030,0002,519,040
15May 16, 2021 15:595,47338,656,65417,512,00002,506,752
16May 16, 2021 16:005,48141,188,51715,477,0002,063,0002,523,136
17May 16, 2021 15:595,48740,022,23517,558,00002,392,064
18May 16, 2021 16:005,49744,209,60316,557,0001,034,0002,519,040
19May 16, 2021 15:595,68997,339,17118,205,62802,281,472
20May 16, 2021 16:005,70286,353,90718,245,82302,281,472
21May 16, 2021 16:005,713101,597,17418,282,65802,277,376
22May 16, 2021 15:595,73467,762,33918,347,55802,289,664
23May 16, 2021 15:595,74380,051,40318,377,94402,285,568
24May 16, 2021 16:005,74983,025,46818,396,08902,289,664