摘要: 1054 The Dominant Color (20 分) 1054 The Dominant Color (20 分) 1054 The Dominant Color (20 分) Behind the scenes in the computer's memory, color is alwa 阅读全文
posted @ 2019-07-14 21:43 #忘乎所以# 阅读(218) 评论(0) 推荐(0)
摘要: 1053 Path of Equal Weight (30 分) 1053 Path of Equal Weight (30 分) 1053 Path of Equal Weight (30 分) Given a non-empty tree with root R, and with weight 阅读全文
posted @ 2019-07-14 21:29 #忘乎所以# 阅读(235) 评论(0) 推荐(0)
摘要: 1052 Linked List Sorting (25 分) 1052 Linked List Sorting (25 分) 1052 Linked List Sorting (25 分) A linked list consists of a series of structures, whic 阅读全文
posted @ 2019-07-14 20:58 #忘乎所以# 阅读(259) 评论(0) 推荐(0)
摘要: 1051 Pop Sequence (25 分) 1051 Pop Sequence (25 分) 1051 Pop Sequence (25 分) Given a stack which can keep M numbers at most. Push N numbers in the order 阅读全文
posted @ 2019-07-14 20:16 #忘乎所以# 阅读(171) 评论(0) 推荐(0)
摘要: 1050 String Subtraction (20 分) 1050 String Subtraction (20 分) 1050 String Subtraction (20 分) Given two strings S​1​​ and S​2​​, S=S​1​​−S​2​​ is defin 阅读全文
posted @ 2019-07-14 19:32 #忘乎所以# 阅读(139) 评论(0) 推荐(0)
摘要: 1049 Counting Ones (30 分) 1049 Counting Ones (30 分) 1049 Counting Ones (30 分) The task is simple: given any positive integer N, you are supposed to co 阅读全文
posted @ 2019-07-14 19:27 #忘乎所以# 阅读(381) 评论(0) 推荐(0)
摘要: 1048 Find Coins (25 分) 1048 Find Coins (25 分) 1048 Find Coins (25 分) Eva loves to collect coins from all over the universe, including some other plane 阅读全文
posted @ 2019-07-14 18:50 #忘乎所以# 阅读(188) 评论(0) 推荐(0)
摘要: 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)