摘要:
1 #include <stdio.h> 2 #include <string.h> 3 int occur_table[12]={0}; 4 bool fill_table(char *p) 5 { 6 while(*p){ 7 occur_table[(*p)-'0']++; 8 p++; 9 }10 return 0;11 }12 int main()13 {14 char ori_num[22];15 scanf("%s",ori_num);16 fill_table(ori_num);17 in... 阅读全文
posted @ 2012-06-06 16:25
linyvxiang
阅读(176)
评论(0)
推荐(0)

浙公网安备 33010602011771号