请求撤下除了第三篇题解(二分+hash)的全部题解。
目前我也没有搞清楚情况,反正hash yyds
Hack:
input:
4 5 3 2 5 2 1 5
output:
1 5 3 2 5 5
wrong output:
1 5 5 3 2 5