摘要: #include<bits/stdc++.h>using namespace std;const long long N=1e5+5;const long long MOD=1e9+7;long long n,x,y,ans=0;long long cost[N];pair<long long,lo 阅读全文
posted @ 2018-12-21 14:19 sewage 阅读(96) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h>using namespace std;const int maxn=1e6+7;pair<string,int>p[maxn];int nn,n;int cmp(pair<string,int>a,pair<string,int>b){ return 阅读全文
posted @ 2018-12-21 13:54 sewage 阅读(124) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h>using namespace std;int a[200007];stack<int>s;int main(){ int n; int mn=0; scanf("%d",&n); for(int i=1;i<=n;i++){ scanf("%d",&a 阅读全文
posted @ 2018-12-21 13:33 sewage 阅读(155) 评论(0) 推荐(0) 编辑