摘要: Given a sequence of positive integers and another positive integer p. The sequence is said to be a perfect sequence if M≤m×p where M and m are the max 阅读全文
posted @ 2019-08-11 23:28 自由之翼Az 阅读(326) 评论(0) 推荐(0) 编辑
摘要: On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys will not appear on sc 阅读全文
posted @ 2019-08-11 22:35 自由之翼Az 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Given a list of N student records with name, ID and grade. You are supposed to sort the records with respect to the grade in non-increasing order, and 阅读全文
posted @ 2019-08-11 20:45 自由之翼Az 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Given an integer with no more than 9 digits, you are supposed to read it in the traditional Chinese way. Output Fu first if it is negative. For exampl 阅读全文
posted @ 2019-08-11 20:25 自由之翼Az 阅读(292) 评论(0) 推荐(0) 编辑