已解决,upper_bound函数写错了,应该改成 ```cpp it=sword.upper_bound(health[i]); ``` by cats142857 @ 2022-07-24 15:20:58