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 16, 2021 18:20Yuriy LyfenkoYuriy LyfenkoScore: 5,439Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 18:205,3864,200,151,36416,157,0001,077,0002,523,136
2May 16, 2021 18:205,4012,279,478,92417,282,00002,260,992
3May 16, 2021 18:205,4081,511,652,10815,382,0001,922,0002,260,992
4May 16, 2021 18:205,4152,042,791,46316,310,0001,019,0002,510,848
5May 16, 2021 18:205,4282,980,905,22815,328,0002,043,0002,523,136
6May 16, 2021 18:205,429880,366,51014,477,0002,895,0002,527,232
7May 16, 2021 18:205,4394,364,366,44413,537,0003,867,0002,523,136
8May 16, 2021 18:205,4573,529,267,92417,463,00002,510,848
9May 16, 2021 18:205,4642,724,960,10416,515,000971,0002,260,992
10May 16, 2021 18:205,6192,962,201,37217,981,48802,285,568
11May 16, 2021 18:205,6351,982,906,10018,033,44302,281,472
12May 16, 2021 18:205,6583,500,120,63518,104,33202,281,472