2017年4月24日
摘要: Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function 阅读全文
posted @ 2017-04-24 11:40 无惧风云 阅读(160) 评论(0) 推荐(0)
摘要: Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1, b1), (a2, b2), ..., (an, bn) which makes sum of 阅读全文
posted @ 2017-04-24 11:09 无惧风云 阅读(150) 评论(0) 推荐(0)
摘要: #include #include using namespace std; struct s1 { char a[8]; }; struct s2 { double d; }; struct s3 { s1 s; char a; }; struct s4 { s2 s; char a; }; struct s5 { int i : 8; int j : 4; int a... 阅读全文
posted @ 2017-04-24 10:18 无惧风云 阅读(336) 评论(0) 推荐(0)