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 listOct 27, 2021 09:46Ilya AniskovetsIlya AniskovetsScore: 5,394Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 27, 2021 09:465,33841,683,03315,071,0002,009,0002,396,160
2Oct 27, 2021 09:465,35536,169,33215,121,0002,016,0002,265,088
3Oct 27, 2021 09:465,37148,981,00115,165,0002,022,0002,392,064
4Oct 27, 2021 09:465,37142,352,42016,177,0001,011,0002,265,088
5Oct 27, 2021 09:465,37532,337,71215,176,0002,023,0002,265,088
6Oct 27, 2021 09:465,38236,695,91016,208,0001,013,0002,265,088
7Oct 27, 2021 09:465,39440,825,48915,230,0002,030,0002,396,160
8Oct 27, 2021 09:465,39847,886,41615,240,0002,032,0002,265,088
9Oct 27, 2021 09:465,40746,185,57716,285,0001,017,0002,396,160
10Oct 27, 2021 09:465,56585,916,52917,808,37602,273,280
11Oct 27, 2021 09:465,59274,272,95617,894,48602,277,376
12Oct 27, 2021 09:465,59298,533,73217,895,24902,277,376