HDU-2069 Coin Change

代碼 #include <iostream> #include <cstring> using namespace std; int dp[251][101]; int coin[5] = {1, 5, 10, 25, 50}; int main() { memset(dp, 0, sizeof(dp)); dp[0][0] = 1; for(int k=0; k
相關文章
相關標籤/搜索