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 22, 2022 16:30Eugene ZhydzetskiEugene ZhydzetskiScore: 5,904Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 22, 2022 16:305,89648,641,79717,875,000993,0002,535,424
2Aug 22, 2022 16:305,89836,793,22416,888,0001,986,0002,330,624
3Aug 22, 2022 16:305,90048,757,85817,888,000993,0002,326,528
4Aug 22, 2022 16:305,90249,969,30416,898,0001,988,0002,326,528
5Aug 22, 2022 16:305,90344,710,46017,897,000994,0002,535,424
6Aug 22, 2022 16:305,90449,096,18815,910,0002,983,0002,334,720
7Aug 22, 2022 16:305,90452,420,70916,906,0001,988,0002,531,328
8Aug 22, 2022 16:305,91535,002,87616,935,0001,992,0002,330,624
9Aug 22, 2022 16:305,92043,308,88317,947,000997,0002,330,624
10Aug 22, 2022 16:306,01082,792,27519,232,94302,240,512
11Aug 22, 2022 16:306,03486,660,58519,308,08602,248,704
12Aug 22, 2022 16:306,13397,459,16419,626,58802,236,416