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 23, 2021 14:48Yuriy LyfenkoYuriy LyfenkoScore: 5,342Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 14:485,30741,146,40314,985,0001,998,0002,396,160
2May 23, 2021 14:485,31444,135,20415,006,0002,000,0002,400,256
3May 23, 2021 14:485,32645,429,54016,042,0001,002,0002,506,752
4May 23, 2021 14:485,33545,169,06915,065,0002,008,0002,396,160
5May 23, 2021 14:485,34045,724,51415,078,0002,010,0002,265,088
6May 23, 2021 14:485,34249,037,36815,083,0002,011,0002,265,088
7May 23, 2021 14:485,34241,561,22415,084,0002,011,0002,392,064
8May 23, 2021 14:485,34641,130,56215,096,0002,012,0002,265,088
9May 23, 2021 14:485,34948,167,15815,103,0002,013,0002,265,088
10May 23, 2021 14:485,55087,466,38917,760,18602,285,568
11May 23, 2021 14:485,56480,990,47317,804,12002,281,472
12May 23, 2021 14:485,58892,235,74317,882,65002,281,472