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 listAug 11, 2022 15:44Bernard TeoBernard TeoScore: 5,486Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 17:425,45581,710,68317,456,92502,301,952
2Aug 13, 2022 05:395,45777,659,65817,463,37002,256,896
3Aug 11, 2022 15:445,45780,477,90317,463,19102,297,856
4Aug 13, 2022 05:395,459106,031,65717,468,99702,306,048
5Aug 13, 2022 05:455,46183,238,78217,474,58202,289,664
6Aug 11, 2022 15:445,46582,218,85117,488,69402,293,760
7Sep 8, 2022 16:185,47770,468,18917,525,19002,297,856
8Sep 7, 2022 17:425,47881,284,03417,530,22502,306,048
9Aug 29, 2022 17:525,48286,502,27217,541,32202,293,760
10Aug 13, 2022 05:455,48375,631,50817,546,70402,281,472
11Aug 13, 2022 05:395,48687,401,08617,555,82502,281,472
12Aug 11, 2022 15:445,48788,284,78217,558,61502,297,856
13Aug 11, 2022 15:455,49288,696,92517,575,74702,293,760
14Aug 13, 2022 05:455,49480,948,04317,582,21302,297,856
15Sep 8, 2022 16:185,49684,327,23517,586,46402,293,760
16Aug 11, 2022 15:455,49975,841,41217,596,28702,297,856
17Sep 7, 2022 17:425,50157,681,68717,602,59702,289,664
18Aug 11, 2022 15:455,50372,793,44217,610,69102,301,952
19Aug 29, 2022 17:525,505104,934,45017,617,17702,297,856
20Aug 29, 2022 17:525,52076,898,43317,663,61302,293,760
21Sep 8, 2022 16:185,52278,973,60817,669,76402,293,760