摘要:
In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix into a new one with different size but keep its original data. 阅读全文
posted @ 2017-05-02 14:49
无惧风云
阅读(462)
评论(0)
推荐(0)
摘要:
Given two arrays, write a function to compute their intersection. Example:Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2]. Note: Each element i 阅读全文
posted @ 2017-05-02 13:56
无惧风云
阅读(164)
评论(0)
推荐(0)
摘要:
如果把setiosflags(ios::fixed)放到最前面,则都会受其影响。 阅读全文
posted @ 2017-05-02 10:10
无惧风云
阅读(1093)
评论(0)
推荐(0)
摘要:
Given a non-empty integer array of size n, find the minimum number of moves required to make all array elements equal, where a move is incrementing n 阅读全文
posted @ 2017-05-02 08:06
无惧风云
阅读(117)
评论(0)
推荐(0)
浙公网安备 33010602011771号