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 27, 2021 15:43Egor SergeevEgor SergeevScore: 5,165Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 15:435,13330,745,83216,424,00002,502,656
2May 27, 2021 15:435,13932,001,85716,446,00002,494,464
3May 27, 2021 15:435,14332,994,77716,456,00002,494,464
4May 27, 2021 15:435,14742,266,28616,469,00002,502,656
5May 27, 2021 15:435,14935,176,21316,478,00002,277,376
6May 27, 2021 15:435,15433,897,70616,494,00002,494,464
7May 27, 2021 15:435,16535,667,06816,527,00002,502,656
8May 27, 2021 15:435,17529,360,61716,560,00002,535,424
9May 27, 2021 15:435,18535,494,24716,592,00002,494,464
10May 27, 2021 15:435,40544,023,30817,296,39102,244,608
11May 27, 2021 15:435,44264,078,96317,415,46302,244,608
12May 27, 2021 15:435,47471,650,19717,515,93802,248,704