上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 22 下一页
摘要: Source: PAT A1089 Insert or Merge (25 分) Description: According to Wikipedia: Insertion sort iterates, consuming one input element each repetition, an 阅读全文
posted @ 2019-08-25 17:05 林東雨 阅读(180) 评论(0) 推荐(0) 编辑
摘要: Source: PAT A1093 Count PAT's (25 分) Description: The string APPAPT contains two PAT's as substrings. The first one is formed by the 2nd, the 4th, and 阅读全文
posted @ 2019-08-24 15:16 林東雨 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Source: PAT A1097 Deduplication on a Linked List (25 分) Description: Given a singly linked list L with integer keys, you are supposed to remove the no 阅读全文
posted @ 2019-08-23 16:42 林東雨 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Source: PAT A1100 Mars Numbers (20 分) Description: People on Mars count their numbers with base 13: Zero on Earth is called "tret" on Mars. The number 阅读全文
posted @ 2019-08-22 19:36 林東雨 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Source: PAT A1104 Sum of Number Segments (20 分) Description: Given a sequence of positive numbers, a segment is defined to be a consecutive subsequenc 阅读全文
posted @ 2019-08-20 20:59 林東雨 阅读(211) 评论(0) 推荐(0) 编辑
摘要: Source: PAT A1131 Subway Map (30 分) Description: In the big cities, the subway systems always look so complex to the visitors. To give you some sense, 阅读全文
posted @ 2019-08-08 21:21 林東雨 阅读(287) 评论(0) 推荐(0) 编辑
摘要: Date:2019-07-31 19:03:46 算法实现 阅读全文
posted @ 2019-07-31 19:04 林東雨 阅读(212) 评论(0) 推荐(0) 编辑
摘要: Date:2019-07-25 16:03:14 算法实现 阅读全文
posted @ 2019-07-25 16:05 林東雨 阅读(267) 评论(0) 推荐(0) 编辑
摘要: Source: PAT A1033 To Fill or Not to Fill (25 分) Description: With highways available, driving a car from Hangzhou to any other city is easy. But since 阅读全文
posted @ 2019-07-24 20:08 林東雨 阅读(224) 评论(0) 推荐(0) 编辑
摘要: Source: PAT A1037 Magic Coupon (25 分) Description: The magic shop in Mars is offering some magic coupons. Each coupon has an integer N printed on it, 阅读全文
posted @ 2019-07-23 19:25 林東雨 阅读(152) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 22 下一页