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 30, 2021 16:55Yuriy LyfenkoYuriy LyfenkoScore: 5,058Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 16:565,03143,569,53414,088,0002,012,0002,404,352
2May 30, 2021 16:565,03243,215,81614,089,0002,012,0002,416,640
3May 30, 2021 16:565,03545,367,88214,098,0002,014,0002,281,472
4May 30, 2021 16:565,03940,961,55415,118,0001,007,0002,519,040
5May 30, 2021 16:555,04434,782,51815,134,0001,008,0002,396,160
6May 30, 2021 16:565,04437,155,37315,133,0001,008,0002,404,352
7May 30, 2021 16:555,04737,506,58115,141,0001,009,0002,400,256
8May 30, 2021 16:555,05232,137,91714,146,0002,020,0002,281,472
9May 30, 2021 16:555,05335,415,77014,147,0002,021,0002,281,472
10May 30, 2021 16:555,05339,545,27214,149,0002,021,0002,510,848
11May 30, 2021 16:565,05332,618,96214,149,0002,021,0002,281,472
12May 30, 2021 16:565,05738,470,35314,159,0002,022,0002,400,256
13May 30, 2021 16:565,05831,031,98615,173,0001,011,0002,408,448
14May 30, 2021 16:565,05835,385,85615,174,0001,011,0002,400,256
15May 30, 2021 16:555,06333,284,44214,178,0002,025,0002,281,472
16May 30, 2021 16:555,06632,977,49814,186,0002,026,0002,281,472
17May 30, 2021 16:555,06935,198,28915,207,0001,013,0002,400,256
18May 30, 2021 16:555,12032,805,37016,384,00002,281,472
19May 30, 2021 16:565,18198,520,24316,579,75402,232,320
20May 30, 2021 16:565,20880,821,70716,664,33102,277,376
21May 30, 2021 16:555,21293,541,34516,679,46702,252,800
22May 30, 2021 16:555,21490,513,03916,686,25602,252,800
23May 30, 2021 16:565,24287,290,32716,774,08302,281,472
24May 30, 2021 16:555,27857,203,48416,889,68502,293,760