CDOJ
文章平均质量分 75
HappyWu
这个作者很懒,什么都没留下…
展开
-
CDOJ 点球大战(penalty)
Penalty 算法:模拟 考点:字符串的处理 首先是要读入一整行可以使用getline(cin,str) 然后还要注意到:每组数据第一行为n 整数 ,cin>>n后若getline() 会读入换行符 所以在cin>>n 后需要先cin.get() 然后再 getline(cin,str); 然后注意到此题只能从后判断倒数的两个单词像是在串中查找”no good”子串的做法也不行这种做原创 2014-01-19 17:47:23 · 1091 阅读 · 0 评论 -
The 12th UESTC Programming Contest Warmup #1
The 12th UESTC Programming Contest Warmup #1 链接:http://acm.uestc.edu.cn/#/contest/show/3 题目来源:2013 ACM ICPC South Central USA RegionalProgramming Contest B - Effective Infection Time 模拟题(水),主要是正原创 2014-03-24 18:52:57 · 613 阅读 · 0 评论