Fork me on GitHub
上一页 1 ··· 5 6 7 8 9 10 11 下一页
摘要: MATLAB安装 吴恩达机器学习 阅读全文
posted @ 2019-03-10 14:28 GerJCS 阅读(227) 评论(0) 推荐(0)
摘要: 下午健身前和lxt兄弟讨论了一个关于 printf 输出的问题,恰巧以前见过类似的,回来写一个收获总结。 首先看一个这样一个例子 Output: 1 0 其实是这样的,printf参数的顺序是一个未定义行为,编译器不同,实现不同,gcc和clang是右到左,msvc是左到右,所以实现这种未定义行为不 阅读全文
posted @ 2019-03-08 19:55 GerJCS 阅读(395) 评论(0) 推荐(0)
摘要: PAT 1003 hdoj 1874 阅读全文
posted @ 2019-03-01 13:49 GerJCS 阅读(898) 评论(0) 推荐(0)
摘要: https://baijiahao.baidu.com/s?id=1606651492697783298&wfr=spider&for=pc 阅读全文
posted @ 2019-02-18 16:30 GerJCS 阅读(129) 评论(0) 推荐(0)
摘要: 19考研结束了 。。 还有11天PAT甲 题目链接:http://lx.lanqiao.cn/problem.page?gpid=T52 题目大意:训练排序 解题思路: 方法一: 直接用C++里的sort函数, 这两句缺一不可。sort函数的排序不仅仅只用了快速排序,还结合了插入排序和堆排序。然后s 阅读全文
posted @ 2019-02-18 11:44 GerJCS 阅读(215) 评论(0) 推荐(0)
摘要: .jpg this is not day this is not night this is not only a picture 阅读全文
posted @ 2018-08-14 22:52 GerJCS 阅读(106) 评论(0) 推荐(0)
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2017 题目大意:给你段字符串,求出字符串中含有数字字符的个数 解题思路: 字符串输入输出的基本应用:http://c.biancheng.net/cpp/html/3106.html https://b 阅读全文
posted @ 2018-07-27 20:07 GerJCS 阅读(228) 评论(0) 推荐(0)
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2016 题目大意:给你 n 个数,把最小的数和第一个数字互换,然后输出 解题思路: 很水,开数组,遍历并记录 min ,最后 swap 输出 代码: 阅读全文
posted @ 2018-07-27 18:35 GerJCS 阅读(197) 评论(0) 推荐(0)
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2015 题目大意:给你个长度为n(n<=100)的数列,该数列定义为从2开始的递增有序偶数,让你按顺序每m个数求出一个平均值,如果最后不足m个,则以实际数量求平均值 解题思路: 记录 n = 100 的数 阅读全文
posted @ 2018-07-26 22:27 GerJCS 阅读(321) 评论(0) 推荐(0)
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2014 题目大意:给你 n 个数,去掉 max 和 min ,求平均数 解题思路: 很水,边记录分数,边记录最边值 代码: 算法开数组,然后排序,取去首去尾的数组 if 那块也可以三目运算符 阅读全文
posted @ 2018-07-26 21:23 GerJCS 阅读(151) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 下一页