PAT (Advanced Level)
文章平均质量分 82
嘟噜噜喵喵
么么你个哒哒
展开
-
1028. List Sorting (25)
Excel can sort records according to any column. Now you are supposed to imitate this function. Input Each input file contains one test case. For each case, the first line contains two integers N (<=100000) and C, where N is the number of records and C is原创 2016-12-11 19:44:05 · 293 阅读 · 0 评论 -
1027. Colors in Mars (20)
People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, where the first 2 digits are for Red, the middle 2 digits for Green, and the last 2 digits for Blue. The only原创 2016-12-09 21:32:08 · 380 阅读 · 0 评论 -
1046. Shortest Distance (20)
The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pair of exits. Input Specification: Each input file c原创 2017-02-02 21:06:13 · 523 阅读 · 0 评论