摘要:
#include<iostream> using namespace std; const int N = 1000; int main() { int s, t, w, flag = 0; char a[N]; int j, i, num = 0; scanf("%d%d%d", &s, &t, 阅读全文
摘要:
#include<iostream> #include<algorithm> using namespace std; const int N = 25; int value[N],weigth[N]; int OPT(int total,int num){ if(total < value[num 阅读全文