2014年1月18日

摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1073模拟oj判题随便搞,开始字符串读入的细节地方没处理好,wa了好久#include #include #include #include using namespace std ; char s1[100005... 阅读全文
posted @ 2014-01-18 23:29 LegendaryAC 阅读(289) 评论(0) 推荐(0) 编辑
 
摘要: http://codeforces.com/problemset/problem/382/C读完题立刻知道怎么做,然后分类讨论到吐血,写挂了,巨蠢#include #include #include #include using namespace std ;int n ;int a[100005] ;int temp1,temp2 ;int cnt1,cnt2,p1,p2 ;int gao(){ int f=1 ; cnt1=cnt2=0 ; temp1=a[0]-a[1] ; for(int i=1 ;i=1 ;i--) if(a[i]-a[i-1]!... 阅读全文
posted @ 2014-01-18 02:50 LegendaryAC 阅读(252) 评论(0) 推荐(0) 编辑