摘要: A - 母牛的故事 #include<iostream> using namespace std; long long a[100]; int main() { int n; while(cin>>n) { a[1]=1;a[2]=2;a[3]=3;a[4]=4; if(n==0) break; i 阅读全文
posted @ 2017-03-28 17:10 163467 阅读(654) 评论(0) 推荐(0) 编辑
摘要: #include<iostream>//线段树 #include<cstring> #include<cstdio> #include<cmath> #include<algorithm> using namespace std; const int mod=4e5+9; long long int 阅读全文
posted @ 2017-03-28 17:07 163467 阅读(153) 评论(0) 推荐(0) 编辑