摘要:
水题,没什么好说的http://pat.zju.edu.cn/contests/pat-a-practise/1006View Code 1 #include<stdio.h> 2 #include<string.h> 3 4 struct node 5 { 6 char ID[16]; 7 char in_time[10]; 8 char out_time[10]; 9 }records[200];10 int M;11 int main()12 {13 int i,min, max;14 int flag = 0; 15 while(sc... 阅读全文
posted @ 2013-03-25 13:59
冰点猎手
阅读(196)
评论(0)
推荐(0)
摘要:
sprintf 函数的使用会使这道题简单很多View Code 1 #include<stdio.h> 2 #include<string.h> 3 void pt(char a) 4 { 5 switch (a) 6 { 7 case '0': printf("zero"); break; 8 case '1': printf("one"); break; 9 case '2': printf("two");break;10 case '3': 阅读全文
posted @ 2013-03-25 00:01
冰点猎手
阅读(125)
评论(0)
推荐(0)

浙公网安备 33010602011771号