HDU-6396 Swordsman(貪心)

題目:每一個怪獸有k種防護屬性,劍士有m個魔法屬性,殺死一個monster須要m個屬性都要大於等於這monster相應的防護值,而後劍士的m個魔法屬性值都會相應的加上val[i]...val[m].問劍客最多能殺多少monster,而且輸出最後的各個魔法屬性值。php #include <bits/stdc++.h> using namespace std; namespace fastIO {
相關文章
相關標籤/搜索