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 8, 2021 13:45Jules MinierJules MinierScore: 5,584Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 8, 2021 13:455,50546,872,96916,581,0001,036,0002,289,664
2Aug 8, 2021 13:455,50635,846,47016,583,0001,036,0002,277,376
3Aug 8, 2021 13:455,50643,885,98516,583,0001,036,0002,277,376
4Aug 8, 2021 13:455,52942,648,77216,652,0001,040,0002,289,664
5Aug 8, 2021 13:455,57844,539,88315,867,0001,983,0002,289,664
6Aug 8, 2021 13:455,58344,747,26217,865,00002,269,184
7Aug 8, 2021 13:455,58449,944,96217,868,00002,289,664
8Aug 8, 2021 13:455,58534,793,10116,879,000992,0002,277,376
9Aug 8, 2021 13:455,59639,464,29715,919,0001,989,0002,289,664
10Aug 8, 2021 13:455,72978,885,69818,332,52902,293,760
11Aug 8, 2021 13:455,74376,068,22018,377,39102,301,952
12Aug 8, 2021 13:455,78275,805,74218,502,75502,293,760