摘要:
#include<iostream> #include<algorithm> using namespace std; int a[210]; int wst[210]; bool cmp(int a,int b) { return a>b; } int main() { int m,s,c; ci 阅读全文
摘要:
#include<iostream> using namespace std; const int max_M = 5000005; const int max_N = 500005; int n, m, X[max_M],Y[max_M], P[max_N], preX[max_M], preY[ 阅读全文
摘要:
#include<iostream> using namespace std; #define N 90000 #define ll long long #define inf 1000000000 ll s[N],t[N]; int n,k; bool check(ll x) { int tp = 阅读全文
摘要:
#include<iostream> using namespace std; int a[1010]; int x,y; int temp; int main() { int n,m; cin>>n>>m; for(int i=1;i<=n;i++) { a[i]=i; } for(int i=1 阅读全文
摘要:
#include<iostream> #include<algorithm> using namespace std; bool cmp(int a,int b) { return a>b; } int w[10010]; int main() { int n,k; cin>>n>>k; for(i 阅读全文