摘要: A Breaking Computer题目:http://cdn.ac.nbutoj.com/Problem/view.xhtml?id=1369参考了网上的代码才ac了,尝试了用string来做,但是TLE了,做了我n久的,桑心死了,基础很重要啊。 1 include 2 #include 3 #include 4 using namespace std; 5 #define MAXN 200000 6 7 char ht[MAXN+10]; 8 vector ans[MAXN+10]; 9 10 int main()11 {12 while(~scanf("%s",ht 阅读全文
posted @ 2013-08-09 21:12 huhuiwen 阅读(136) 评论(0) 推荐(0)
摘要: Easy Problem from Rujia Liu?题目:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=229&problem=3142&mosmsg=Submission+received+with+ID+12182235map函数参考:http://hi.baidu.com/0wingbinging/item/48b52423fc00d00177272c0c#include #include #incl 阅读全文
posted @ 2013-08-09 12:31 huhuiwen 阅读(173) 评论(0) 推荐(0)