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 19, 2022 18:35Eugene ZhydzetskiEugene ZhydzetskiScore: 5,905Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 19, 2022 18:355,84345,111,70517,659,0001,038,0002,535,424
2Aug 19, 2022 18:355,890102,497,47918,847,56602,240,512
3Aug 19, 2022 18:355,89838,675,51716,887,0001,986,0002,535,424
4Aug 19, 2022 18:355,89942,338,95516,891,0001,987,0002,535,424
5Aug 19, 2022 18:355,90345,353,65016,902,0001,988,0002,535,424
6Aug 19, 2022 18:355,90537,229,90817,902,000994,0002,535,424
7Aug 19, 2022 18:355,90548,421,17616,908,0001,989,0002,535,424
8Aug 19, 2022 18:355,90694,630,04718,898,27402,252,800
9Aug 19, 2022 18:355,90644,081,20717,906,000994,0002,334,720
10Aug 19, 2022 18:355,91036,291,18016,922,0001,990,0002,531,328
11Aug 19, 2022 18:355,93449,214,99415,991,0002,998,0002,531,328
12Aug 19, 2022 18:356,06887,544,69419,416,73102,236,416