摘要: /*今天发现自己是基地做题几乎最少的人水几道题吧;*/#include #include #include #include #include #include #include using namespace std; int main(int argc, char *argv[]) { int n,m,hh1,hh2,mm1,mm2,ss1,ss2; int eh,es,em,lh,ls,lm; string on,off,stu; char c; cin>>n; while(n--) { lh = lm = ls = 0; eh = 23; ... 阅读全文
posted @ 2013-03-05 22:05 简洁是智慧的灵魂 阅读(117) 评论(0) 推荐(0)
摘要: /*无聊水了一题只怪自己太水,水题也花了好久时间;*/#include #include #include #include #include #include #include using namespace std; int change(char *s) { if(!strcmp(s,"one")) return 1; if(!strcmp(s,"two")) return 2; if(!strcmp(s,"three")) return 3; if(!strcmp(s,"four")) return 4; 阅读全文
posted @ 2013-03-05 20:48 简洁是智慧的灵魂 阅读(95) 评论(0) 推荐(0)