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 24, 2021 05:59Yuriy LyfenkoYuriy LyfenkoScore: 5,099Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 05:595,05141,704,01615,153,0001,010,0002,527,232
2May 24, 2021 05:595,05531,302,42814,155,0002,022,0002,396,160
3May 24, 2021 05:595,05846,618,50714,161,0002,023,0002,265,088
4May 24, 2021 05:595,07533,111,70914,211,0002,030,0002,265,088
5May 24, 2021 05:595,08438,184,57915,252,0001,016,0002,506,752
6May 24, 2021 05:595,08936,202,62416,286,00002,265,088
7May 24, 2021 05:595,09947,881,63516,317,00002,265,088
8May 24, 2021 05:595,10736,532,87416,342,00002,265,088
9May 24, 2021 05:595,12934,703,63515,389,0001,025,0002,265,088
10May 24, 2021 05:595,32685,293,20117,043,95402,281,472
11May 24, 2021 05:595,32975,402,53617,053,20402,281,472
12May 24, 2021 05:595,36656,182,43117,170,99102,277,376