HDU 1171(01背包)

#include <stdio.h> #include <string.h> #include <algorithm> using namespace std; int dp[255000],v[5005]; int main() { int n; while (scanf("%d", &n) != EOF) { if (n <= 0) continue; memset(dp, 0
相关文章
相关标签/搜索