上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 25 下一页
摘要: Zhejiang University has 40000 students and provides 2500 courses. Now given the registered course list of each student, you are supposed to output the 阅读全文
posted @ 2018-06-08 19:08 赖兴宇 阅读(156) 评论(0) 推荐(0)
摘要: Given two sets of integers, the similarity of the sets is defined to be N~c~/N~t~*100%, where N~c~ is the number of distinct common numbers shared by 阅读全文
posted @ 2018-06-08 17:02 赖兴宇 阅读(342) 评论(0) 推荐(0)
摘要: Zhejiang University has 40000 students and provides 2500 courses. Now given the student name lists of all the courses, you are supposed to output the 阅读全文
posted @ 2018-06-08 13:57 赖兴宇 阅读(179) 评论(0) 推荐(0)
摘要: Given a collection of number segments, you are supposed to recover the smallest number from them. For example, given {32, 321, 3214, 0229, 87}, we can 阅读全文
posted @ 2018-06-08 13:20 赖兴宇 阅读(130) 评论(0) 推荐(0)
摘要: The magic shop in Mars is offering some magic coupons. Each coupon has an integer N printed on it, meaning that when you use this coupon with a produc 阅读全文
posted @ 2018-06-08 13:08 赖兴宇 阅读(486) 评论(0) 推荐(0)
摘要: A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number 阅读全文
posted @ 2018-06-08 12:45 赖兴宇 阅读(244) 评论(0) 推荐(0)
摘要: Given a stack which can keep M numbers at most. Push N numbers in the order of 1, 2, 3, ..., N and pop randomly. You are supposed to tell if a given s 阅读全文
posted @ 2018-06-08 00:26 赖兴宇 阅读(151) 评论(0) 推荐(0)
摘要: A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number 阅读全文
posted @ 2018-06-07 23:13 赖兴宇 阅读(123) 评论(0) 推荐(0)
摘要: Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example, "helloworld" can be printed as: That is 阅读全文
posted @ 2018-06-07 22:59 赖兴宇 阅读(106) 评论(0) 推荐(0)
摘要: To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Language, M - Mat 阅读全文
posted @ 2018-06-07 22:25 赖兴宇 阅读(113) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 25 下一页