摘要: #include #include int main(){ char str[90]; gets(str); int len =strlen(str), r = 0, h = 0; char ans[90][90]; for (int i=0; i=0;... 阅读全文
posted @ 2017-07-30 15:48 老耗子 阅读(95) 评论(0) 推荐(0) 编辑
摘要: #include #include int ... 阅读全文
posted @ 2017-07-30 15:48 老耗子 阅读(33) 评论(0) 推荐(0) 编辑
摘要: #include #include int ... 阅读全文
posted @ 2017-07-30 15:48 老耗子 阅读(57) 评论(0) 推荐(0) 编辑
摘要: #include #include int ... 阅读全文
posted @ 2017-07-30 11:07 老耗子 阅读(55) 评论(0) 推荐(0) 编辑
摘要: #include #include int ... 阅读全文
posted @ 2017-07-30 11:07 老耗子 阅读(45) 评论(0) 推荐(0) 编辑
摘要: #include #include int main(){ char str[110]; gets(str); int len = strlen(str); int sum = 0; for (int i = 0; i=0; i--){ p... 阅读全文
posted @ 2017-07-30 11:06 老耗子 阅读(104) 评论(0) 推荐(0) 编辑
摘要: #include #include // B... 阅读全文
posted @ 2017-07-30 10:36 老耗子 阅读(61) 评论(0) 推荐(0) 编辑
摘要: #include #include // B... 阅读全文
posted @ 2017-07-30 10:36 老耗子 阅读(77) 评论(0) 推荐(0) 编辑
摘要: #include #include // B1031// 权重 w[0] = 7, w[1] = 9int w[20] = {7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2};// 校验码, chaneg[0] = '1', change[1] = '0',.... 阅读全文
posted @ 2017-07-30 10:35 老耗子 阅读(126) 评论(0) 推荐(0) 编辑
摘要: #include #include int main(){ char str[1010]; gets(str); int len = strlen(str); int count[10]= {0}; //记录 0 - 9 的出现的次数,初值均为0 for... 阅读全文
posted @ 2017-07-30 09:25 老耗子 阅读(87) 评论(0) 推荐(0) 编辑
摘要: #include #include int ... 阅读全文
posted @ 2017-07-30 09:25 老耗子 阅读(54) 评论(0) 推荐(0) 编辑
摘要: #include #include int ... 阅读全文
posted @ 2017-07-30 09:25 老耗子 阅读(70) 评论(0) 推荐(0) 编辑