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 25, 2021 15:24Yuriy LyfenkoYuriy LyfenkoScore: 5,124Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 15:245,05831,529,35114,161,0002,023,0002,527,232
2May 25, 2021 15:245,07444,842,43114,209,0002,029,0002,265,088
3May 25, 2021 15:245,09637,143,86614,270,0002,038,0002,510,848
4May 25, 2021 15:245,09637,433,63814,270,0002,038,0002,265,088
5May 25, 2021 15:245,09835,693,58416,312,00002,265,088
6May 25, 2021 15:245,09937,401,81816,316,00002,265,088
7May 25, 2021 15:245,12440,659,39815,374,0001,024,0002,510,848
8May 25, 2021 15:245,12942,064,57915,388,0001,025,0002,400,256
9May 25, 2021 15:245,16232,206,21715,485,0001,032,0002,383,872
10May 25, 2021 15:245,27444,136,07716,877,65102,281,472
11May 25, 2021 15:245,31190,207,12016,993,68502,273,280
12May 25, 2021 15:245,31339,779,80117,001,17402,273,280