上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: Wool Accepts: 109 Submissions: 770 Time Limit: 8000/4000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)问题描述黎明时,Venus为Psyche定下了第二个任务。她... 阅读全文
posted @ 2016-07-18 20:14 _Wilbert 阅读(108) 评论(0) 推荐(0) 编辑
摘要: Arrange Accepts: 221 Submissions: 1401 Time Limit: 8000/4000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)问题描述Cupid一不小心将爱情之箭射到了自己,他爱... 阅读全文
posted @ 2016-07-18 20:10 _Wilbert 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Oracle Accepts: 599 Submissions: 2576 Time Limit: 8000/4000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)问题描述曾经有一位国王,统治着一片未名之地。他膝下有三... 阅读全文
posted @ 2016-07-18 20:04 _Wilbert 阅读(117) 评论(0) 推荐(0) 编辑
摘要: Barney lives in country USC (United States of Charzeh). USC has n cities numbered from 1 through n and n - 1 roads between them. Cities and roads of U... 阅读全文
posted @ 2016-07-17 13:46 _Wilbert 阅读(116) 评论(0) 推荐(0) 编辑
摘要: Barney is standing in a bar and starring at a pretty girl. He wants to shoot her with his heart arrow but he needs to know the distance between him an... 阅读全文
posted @ 2016-07-15 13:19 _Wilbert 阅读(211) 评论(0) 推荐(0) 编辑
摘要: Barney lives in NYC. NYC has infinite number of intersections numbered with positive integers starting from 1. There exists a bidirectional road betwe... 阅读全文
posted @ 2016-07-15 13:06 _Wilbert 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Description给定自然数N和十进制集合X={x1,x2,...,xm}(0 q = new LinkedList(); int[] vis = new int[n]; q.clear(); for(int i = 0; i = 0) break; ... 阅读全文
posted @ 2016-07-11 14:39 _Wilbert 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Pari wants to buy an expensive chocolate from Arya. She has n coins, the value of the i-th coin is ci. The price of the chocolate is k, so Pari will t... 阅读全文
posted @ 2016-07-01 13:07 _Wilbert 阅读(196) 评论(0) 推荐(0) 编辑
摘要: Today Pari and Arya are playing a game called Remainders.Pari chooses two positive integer x and k, and tells Arya k but not x. Arya have to find the ... 阅读全文
posted @ 2016-07-01 12:41 _Wilbert 阅读(159) 评论(0) 推荐(0) 编辑
摘要: Recently, Pari and Arya did some research about NP-Hard problems and they found the minimum vertex cover problem very interesting.Suppose the graph G ... 阅读全文
posted @ 2016-07-01 12:31 _Wilbert 阅读(136) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 下一页