HDU 2602 Bone Collector……( 01揹包模板題)

#include<stdio.h> #include<string.h> #include<algorithm> using namespace std; int main() { int i, j, temp, t, n, c, w[1005], v[1005], dp[1005]; scanf("%d", &t); while(t--) { sc
相關文章
相關標籤/搜索