摘要:
#include <bits/stdc++.h> using namespace std; const int N = 1000001; int l,r,n,m,w; double dp[N][2]; double res; int main(){ ios::sync_with_stdio(fals 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; const int N = 1010; int Node_k,pre[N],in[N],post[N];//遍历用 struct Node { int value; Node *left, *right; N 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; const int N = 10000; vector <int> v; int n,k,icin; int main(){ ios::sync_with_stdio(false); cin>>n>>k; fo 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; const int N = 10000; int n; unsigned long long res=0; struct bag{ int value; int weight; }bag[N]; int M, 阅读全文