/* 看了评论区,都不行,这才是动态规划解题 */ #include <iostream> #include <vector> using namespace std; int stamp[] = {8,8,8,8,8, 10,10,10,10, 18,18,18,18,18,18}; int main() { vector<int> dp(189, 0); dp[0] = 1; for (int i = 0; i < sizeof(stamp) / sizeof(int); i++) { for (int ...