摘要:
#includeusing namespace std;int n;int a[1005];int main(){ int ans; while(scanf("%d",&n)==1) { for(int i=0;i=2;i--) ... 阅读全文
posted @ 2018-08-11 18:58
erge1998
阅读(101)
评论(0)
推荐(0)
摘要:
注意:刚开始用数组存deque qa[MAX]会爆内存需要改用map > qa优化不明觉厉#includeusing namespace std;void read(int &x){ char ch = getchar();x = 0; for (; ch... 阅读全文
posted @ 2018-08-11 18:45
erge1998
阅读(104)
评论(0)
推荐(0)
摘要:
#includeusing namespace std;typedef long long ll;#define MAX_N 1000000int bit[MAX_N+1],n=5;int a[6]={0,1,2,3,4,5};int sum(int i){ i... 阅读全文
posted @ 2018-08-11 17:01
erge1998
阅读(229)
评论(0)
推荐(0)

浙公网安备 33010602011771号