hdu 1050
摘要:
这题思路百度的,自己的思路太差了,不行,百度到的思路非常巧妙,哪一段重合的次数最大就是要移动的时间*10...orz神牛们..View Code 1 #include<stdio.h> 2 #include<string.h> 3 #include<stdlib.h> 4 int main( ) 5 { 6 int N; 7 scanf("%d",&N); 8 while(N--) 9 {10 int M,a,b,i,j,c[210],temp;11 memset(c,0,sizeof(c));12 scanf("%d& 阅读全文
posted @ 2011-04-24 23:33 more think, more gains 阅读(242) 评论(0) 推荐(0)