摘要:
``` #include #include #include #include using namespace std; const int N=8e5+5; int maxx=-0x3f3f3f3f; int n; int f[N]; struct node{ int s,f; } cow[405]; int main() { cin>>n; for(int i=1;i>cow[i].s>>co 阅读全文
摘要:
``` #include using namespace std; const int N=2e5; int f[N]; int g[N]; int q[N]; int s1[7]; int m; //数量为a[1...6] //还是数量 //价值1~6 //变为体积 //然后价值都是1 //问能不能凑出体积为一半 int main() { while(cin>>s1[1]>>s1[2]>>s1[ 阅读全文
摘要:
```#include#include#include #includeusing namespace std;#define int long longtypedef long long ll;const int N=200;int read(){ int res=0,ch,flag=0; if((ch=getchar())=='-') //判断正负 ... 阅读全文
摘要:
``` #include #include #include #include using namespace std; typedef long long ll; const int N=1e5,M=90000; const ll INF=1e15; int n,m,e; struct node{ int l,r,w; bool operator>1; build(u>1; if(k=l&&tr 阅读全文