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 listSep 5, 2021 05:34Ilya AniskovetsIlya AniskovetsScore: 5,503Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2021 05:345,44941,631,17416,411,0001,025,0002,289,664
2Sep 5, 2021 05:345,45441,982,97116,427,0001,026,0002,289,664
3Sep 5, 2021 05:345,45527,734,19716,430,0001,026,0002,289,664
4Sep 5, 2021 05:345,45748,740,81516,434,0001,027,0002,289,664
5Sep 5, 2021 05:345,45935,512,57317,470,00002,285,568
6Sep 5, 2021 05:345,47138,796,12517,508,00002,289,664
7Sep 5, 2021 05:345,47639,873,05617,524,00002,289,664
8Sep 5, 2021 05:345,48733,259,19416,526,0001,032,0002,269,184
9Sep 5, 2021 05:345,48738,130,16116,527,0001,032,0002,273,280
10Sep 5, 2021 05:345,48941,123,41416,532,0001,033,0002,289,664
11Sep 5, 2021 05:345,49337,344,76516,544,0001,034,0002,289,664
12Sep 5, 2021 05:345,49440,305,36516,546,0001,034,0002,289,664
13Sep 5, 2021 05:345,50344,719,70216,574,0001,035,0002,281,472
14Sep 5, 2021 05:345,50445,934,04716,576,0001,036,0002,289,664
15Sep 5, 2021 05:345,50943,533,86316,593,0001,037,0002,273,280
16Sep 5, 2021 05:345,52942,776,03317,692,00002,273,280
17Sep 5, 2021 05:345,53038,245,92217,695,00002,289,664
18Sep 5, 2021 05:345,53443,560,26416,668,0001,041,0002,273,280
19Sep 5, 2021 05:345,64160,127,90818,051,10402,297,856
20Sep 5, 2021 05:345,66460,275,38818,125,02502,293,760
21Sep 5, 2021 05:345,66880,926,94418,136,66702,293,760
22Sep 5, 2021 05:345,66965,761,74718,141,92702,301,952
23Sep 5, 2021 05:345,67956,129,11618,173,03802,293,760
24Sep 5, 2021 05:345,69477,300,64218,220,62102,301,952