摘要: 笔试题:要从5个人中选取2个人作为礼仪,其中每个人的身高范围为160-190,要求2个人的身高差值最小(如果差值相同的话,选取其中最高的两人),以升序输出两个人的身高。 Smple input:161 189 167 172 188 Sample outPut: 188 189 public cla 阅读全文
posted @ 2016-09-28 14:46 miaoying 阅读(598) 评论(0) 推荐(0)