摘要: 实验代码一 1 #include <iostream> 2 using namespace std; 3 4 //<<像程序员一样思考>> 实现Luhn检验和实现 5 //Luhn原理 标识号 最后一位是检验数字 6 //回车 ASC码值 10 7 int method(int temp); 8 b 阅读全文
posted @ 2019-04-06 22:23 littlelittleprince 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 using namespace std; 3 4 //如何统计数组中的众数 5 //思路: 先转化为有序数组 6 // 再来查找众数 7 void sortMethod(int intArray[],int array_size); 8 void pr 阅读全文
posted @ 2019-04-06 22:09 littlelittleprince 阅读(4739) 评论(0) 推荐(0) 编辑