数据范围里:
1≤ci≤beginLevel1\le c_i\le beginLevel1≤ci≤beginLevel
应改为
1≤ci≤maxLevel1\le c_i\le maxLevel1≤ci≤maxLevel
样例里 c3=7c_3=7c3=7 比 beginLevel=5beginLevel=5beginLevel=5 还要大,明显不对。