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 17, 2021 19:37Yuriy LyfenkoYuriy LyfenkoScore: 5,376Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 19:375,36338,874,36616,151,0001,009,0002,396,160
2May 17, 2021 19:375,36439,419,56314,136,0003,029,0002,400,256
3May 17, 2021 19:375,36641,155,57316,161,0001,010,0002,400,256
4May 17, 2021 19:375,36745,765,38614,144,0003,030,0002,265,088
5May 17, 2021 19:375,36949,332,95416,171,0001,010,0002,265,088
6May 17, 2021 19:375,37645,931,22316,191,0001,011,0002,387,968
7May 17, 2021 19:375,37639,943,62715,179,0002,023,0002,527,232
8May 17, 2021 19:375,37734,501,36816,195,0001,012,0002,265,088
9May 17, 2021 19:375,38438,544,10717,229,00002,265,088
10May 17, 2021 19:375,62996,909,95618,013,38502,281,472
11May 17, 2021 19:375,65174,021,78318,082,85402,277,376
12May 17, 2021 19:375,70197,584,12718,243,11302,273,280