摘要: Rotate an array of n elements to the right by k steps.For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3... 阅读全文
posted @ 2016-04-21 23:36 Free_Open 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 度量表 1.准确率 (presion) p=TPTP+FP 理解为你预测对的正例数占你预测正例总量的比率,假设实际有90个正例,10个负例,你预测80(75+,5-)个正例,20(15+,5-)个负例 实际上你的准确率为75/80=0.9375,但这个评价指标有什么问题呢,想想就知... 阅读全文
posted @ 2016-04-21 22:15 Free_Open 阅读(1513) 评论(0) 推荐(0) 编辑
摘要: #define IMIN numeric_limits::min()#define IMAX numeric_limits::max()class Solution {public: bool isPowerOfFour(int num) { int ... 阅读全文
posted @ 2016-04-21 10:45 Free_Open 阅读(103) 评论(0) 推荐(0) 编辑
摘要:  大家知道latex是最好的排版系统,用来写论文,排版非常漂亮,用来做简历可以提升逼格,下面介绍几个有用的命令 几个有用的命令 section、cventry、cvitem、cvlistitem、cvlistdoubleitem, cvline 0 section 定... 阅读全文
posted @ 2016-04-21 10:23 Free_Open 阅读(1542) 评论(0) 推荐(0) 编辑