摘要: 腾讯马拉松水~~注意是12小时一周期!!!!!!!!!!!!!!!!!!!!!!!View Code 1 #include<stdio.h> 2 #include<string.h> 3 struct node{ 4 int h,m,s,all; 5 }; 6 node now,pre,tmp; 7 int main(){ 8 int n; 9 scanf("%d",&n);10 while( n-- ){11 scanf("%d:%d:%d",&now.h,&now.m,&now.s);12 no 阅读全文
posted @ 2013-03-22 22:41 xxx0624 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 #include<string.h> 3 #include<algorithm> 4 using namespace std; 5 const int maxn = 205; 6 int a[ maxn ],b[ maxn ],dp[ maxn ]; 7 阅读全文
posted @ 2013-03-22 22:18 xxx0624 阅读(257) 评论(0) 推荐(0) 编辑