JZOJ-senior-5955. 【NOIP2018模拟11.7A组】strategy

Time Limits: 1000 ms Memory Limits: 262144 KB Description Input Output 一行 n 个整数,第 i 个数表示和第 i 个敌人结盟时的最小代价。 Sample Input 4 2 1 5 2 3 2 4 3 5 Sample Output 8 8 7 6 Data Constraint 对于 70% 的数据,保证 n ≤ 400。
相关文章
相关标签/搜索