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 17, 2021 19:42Yuriy LyfenkoYuriy LyfenkoScore: 5,364Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 19:425,332983,784,23216,058,0001,003,0002,269,184
2May 17, 2021 19:425,3372,965,027,62013,061,0004,018,0002,269,184
3May 17, 2021 19:395,337247,712,45116,074,0001,004,0002,527,232
4May 17, 2021 19:395,3392,969,182,94717,085,00002,392,064
5May 17, 2021 19:395,3412,670,432,32115,081,0002,010,0002,523,136
6May 17, 2021 19:425,3411,102,733,95016,087,0001,005,0002,269,184
7May 17, 2021 19:395,3461,196,357,29416,102,0001,006,0002,265,088
8May 17, 2021 19:395,3512,523,063,36116,115,0001,007,0002,269,184
9May 17, 2021 19:395,3521,693,730,57016,175,000951,0002,523,136
10May 17, 2021 19:425,3532,358,528,01415,113,0002,015,0002,265,088
11May 17, 2021 19:425,3582,612,853,77117,147,00002,396,160
12May 17, 2021 19:395,3622,615,656,33316,148,0001,009,0002,523,136
13May 17, 2021 19:425,3642,761,621,55315,258,0001,907,0002,265,088
14May 17, 2021 19:425,3681,069,798,86315,270,0001,908,0002,269,184
15May 17, 2021 19:395,3731,017,430,92015,283,0001,910,0002,392,064
16May 17, 2021 19:425,3782,289,440,27815,297,0001,912,0002,523,136
17May 17, 2021 19:425,3892,113,973,60116,286,000958,0002,265,088
18May 17, 2021 19:395,3992,318,049,55316,262,0001,016,0002,527,232
19May 17, 2021 19:395,5222,444,466,77817,669,60602,281,472
20May 17, 2021 19:425,5342,656,561,78017,709,97302,277,376
21May 17, 2021 19:395,5392,436,081,48317,723,46902,277,376
22May 17, 2021 19:425,5552,907,273,02017,774,66502,281,472
23May 17, 2021 19:395,559699,498,56117,787,37702,281,472
24May 17, 2021 19:425,573148,521,63917,832,27902,281,472