随笔分类 -  Pat

摘要:1047 Student List for Course (25 分) 1047 Student List for Course (25 分) 1047 Student List for Course (25 分) Zhejiang University has 40,000 students an 阅读全文
posted @ 2019-07-14 18:24 #忘乎所以# 阅读(248) 评论(0) 推荐(0)
摘要:1046 Shortest Distance (20 分) 1046 Shortest Distance (20 分) 1046 Shortest Distance (20 分) The task is really simple: given N exits on a highway which 阅读全文
posted @ 2019-07-13 23:37 #忘乎所以# 阅读(145) 评论(0) 推荐(0)
摘要:1045 Favorite Color Stripe (30 分) 1045 Favorite Color Stripe (30 分) 1045 Favorite Color Stripe (30 分) Eva is trying to make her own color stripe out o 阅读全文
posted @ 2019-07-13 23:07 #忘乎所以# 阅读(252) 评论(0) 推荐(0)
摘要:1044 Shopping in Mars (25 分) 1044 Shopping in Mars (25 分) 1044 Shopping in Mars (25 分) Shopping in Mars is quite a different experience. The Mars peop 阅读全文
posted @ 2019-07-12 23:10 #忘乎所以# 阅读(226) 评论(0) 推荐(0)
摘要:1055 The World's Richest (25 分) 1055 The World's Richest (25 分) 1055 The World's Richest (25 分) Forbes magazine publishes every year its list of billi 阅读全文
posted @ 2019-07-12 07:07 #忘乎所以# 阅读(225) 评论(0) 推荐(0)
摘要:1043 Is It a Binary Search Tree (25 分) 1043 Is It a Binary Search Tree (25 分) 1043 Is It a Binary Search Tree (25 分) A Binary Search Tree (BST) is rec 阅读全文
posted @ 2019-07-09 12:33 #忘乎所以# 阅读(317) 评论(0) 推荐(0)
摘要:1042 Shuffling Machine (20 分) 1042 Shuffling Machine (20 分) 1042 Shuffling Machine (20 分) Shuffling is a procedure used to randomize a deck of playing 阅读全文
posted @ 2019-07-09 10:02 #忘乎所以# 阅读(304) 评论(0) 推荐(0)
摘要:1041 Be Unique (20 分) 1041 Be Unique (20 分) 1041 Be Unique (20 分) Being unique is so important to people on Mars that even their lottery is designed i 阅读全文
posted @ 2019-07-09 00:44 #忘乎所以# 阅读(157) 评论(0) 推荐(0)
摘要:1040 Longest Symmetric String (25 分) 1040 Longest Symmetric String (25 分) 1040 Longest Symmetric String (25 分) Given a string, you are supposed to out 阅读全文
posted @ 2019-07-08 21:14 #忘乎所以# 阅读(313) 评论(0) 推荐(0)
摘要:1038 Recover the Smallest Number (30 分) 1038 Recover the Smallest Number (30 分) 1038 Recover the Smallest Number (30 分) Given a collection of number s 阅读全文
posted @ 2019-07-08 16:22 #忘乎所以# 阅读(216) 评论(0) 推荐(0)
摘要:1037 Magic Coupon (25 分) 1037 Magic Coupon (25 分) 1037 Magic Coupon (25 分) The magic shop in Mars is offering some magic coupons. Each coupon has an i 阅读全文
posted @ 2019-06-26 10:12 #忘乎所以# 阅读(161) 评论(0) 推荐(0)
摘要:1036 Boys vs Girls (25 分) 1036 Boys vs Girls (25 分) 1036 Boys vs Girls (25 分) This time you are asked to tell the difference between the lowest grade 阅读全文
posted @ 2019-06-26 08:33 #忘乎所以# 阅读(149) 评论(0) 推荐(0)
摘要:1031 Hello World for U (20 分) 1031 Hello World for U (20 分) 1031 Hello World for U (20 分) Given any string of N (≥) characters, you are asked to form 阅读全文
posted @ 2019-06-24 01:14 #忘乎所以# 阅读(230) 评论(0) 推荐(0)
摘要:1030 Travel Plan (30 分) 1030 Travel Plan (30 分) 1030 Travel Plan (30 分) A traveler's map gives the distances between cities along the highways, togeth 阅读全文
posted @ 2019-06-24 01:04 #忘乎所以# 阅读(261) 评论(0) 推荐(0)