HBC245509CinemaHanxin Selects Soldiers题解

原来我爱你 算法基础篇 54 0
想要检验自己的编程水平?来试试全网最全C++题库,让您在挑战中不断进步。
Hanxin ordered N soldiers to form an army. Each soldier has his own force value. The overall force value of the army is twice the total force value of all soldiers in the army. Do you know the overall force value of Hanxin's army?

Hanxin selects more soldiers for the better! Hanxin ordered N soldiers to form an army. Each soldier has his own force value. The overall force value of the army is twice the total force value of all soldiers in the army. Do you know the overall force value of Hanxin's army?

HBC245509CinemaHanxin Selects Soldiers题解
-第1张图片-东莞河马信息技术
(图片来源网络,侵删)

标签: HBC245509CinemaHanxin Selects Soldiers题解