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 11, 2021 19:44Yuriy LyfenkoYuriy LyfenkoScore: 5,588Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 19:565,53435,586,52815,625,0002,083,0002,400,256
2May 11, 2021 19:445,54239,111,15617,734,00002,260,992
3May 11, 2021 19:565,58351,169,21115,881,0001,985,0002,387,968
4May 11, 2021 19:445,58543,489,09017,872,00002,523,136
5May 11, 2021 19:565,58537,825,56514,894,0002,978,0002,523,136
6May 11, 2021 19:565,58549,330,46316,879,000992,0002,387,968
7May 11, 2021 19:565,58548,249,77417,872,00002,400,256
8May 11, 2021 19:445,58645,766,76016,882,000993,0002,400,256
9May 11, 2021 19:565,58651,814,83916,883,000993,0002,523,136
10May 11, 2021 19:565,58644,892,40516,881,000993,0002,523,136
11May 11, 2021 19:445,58745,185,62216,884,000993,0002,260,992
12May 11, 2021 19:445,58748,555,87616,886,000993,0002,260,992
13May 11, 2021 19:445,58846,620,92815,894,0001,986,0002,506,752
14May 11, 2021 19:565,58848,824,73815,895,0001,986,0002,260,992
15May 11, 2021 19:565,59047,144,90816,896,000993,0002,523,136
16May 11, 2021 19:445,59043,926,32716,895,000993,0002,396,160
17May 11, 2021 19:445,59043,584,03215,902,0001,987,0002,392,064
18May 11, 2021 19:445,60247,370,75513,943,0003,983,0002,523,136
19May 11, 2021 19:445,73281,396,55718,341,11302,260,992
20May 11, 2021 19:565,76873,888,12818,456,02402,285,568
21May 11, 2021 19:565,77070,813,38518,465,48702,281,472
22May 11, 2021 19:445,77162,398,56618,466,62502,285,568
23May 11, 2021 19:445,78177,913,08818,498,53702,265,088
24May 11, 2021 19:565,79899,502,48418,552,94602,285,568