随笔分类 - 

摘要:problem维护一个整数序列的编辑器,支持5种操作,操作数#include#includeusing namespace std;const int maxn = 1e6+10;int f[maxn];int main(){ int T; while(s... 阅读全文
posted @ 2018-08-08 17:53 gwj1139177410 阅读(239) 评论(0) 推荐(0)
摘要:problemsolutioncodes#include#include#includeusing namespace std;int main(){ stacks; string str; cin>>str; bool flag = 1; ... 阅读全文
posted @ 2018-06-08 22:08 gwj1139177410 阅读(120) 评论(0) 推荐(0)
摘要:problemsolutioncodes#include#includeusing namespace std;stacks;int main(){ char ch; int t=0; while(cin>>ch && ch!='@'){ i... 阅读全文
posted @ 2018-06-08 22:06 gwj1139177410 阅读(148) 评论(0) 推荐(0)
摘要:problemsolutioncodes#includeusing namespace std;int main(){ int n; unsigned long long f=1; cin>>n; for(int i=1;i<=n;i++) f... 阅读全文
posted @ 2018-05-23 12:47 gwj1139177410 阅读(138) 评论(0) 推荐(0)
摘要://UVa673 - Parentheses Balance//已AC#include#include#includeusing namespace std;int main(){ int T; cin>>T; getchar(); //cin.get(); 读取整数... 阅读全文
posted @ 2017-04-03 09:39 gwj1139177410 阅读(86) 评论(0) 推荐(0)

选择