摘要: Problem Description A simple problem Problem Description You have a multiple set,and now there are three kinds of operations: 1 x : add number x to se 阅读全文
posted @ 2015-08-04 20:04 Przz 阅读(182) 评论(0) 推荐(0) 编辑
摘要: Problem Description MZL loves xor very much.Now he gets an array A.The length of A is n.He wants to know the xor of all (Ai+Aj)(1≤i,j≤n) The xor of an 阅读全文
posted @ 2015-08-04 20:00 Przz 阅读(196) 评论(0) 推荐(0) 编辑
摘要: Problem Description There is an integer a and n integers b1,…,bn. After selecting some numbers from b1,…,bn in any order, say c1,…,cr, we want to make 阅读全文
posted @ 2015-08-04 16:13 Przz 阅读(158) 评论(0) 推荐(0) 编辑
摘要: Input and Output In order to provide the Quiz Master with a potentially unlimited source of questions you are asked to write a program that will read 阅读全文
posted @ 2015-08-02 21:23 Przz 阅读(182) 评论(0) 推荐(0) 编辑
摘要: Given a graph (V,E) where V is a set of nodes and E is a set of arcs in VxV, and an ordering on the elements in V, then the bandwidth of a node v is d 阅读全文
posted @ 2015-08-02 21:12 Przz 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 描述 小Hi和小Ho准备国庆期间去A国旅游。A国的城际交通比较有特色:它共有n座城市(编号1-n);城市之间恰好有n-1条公路相连,形成一个树形公路网。小Hi计划从A国首都(1号城市)出发,自驾遍历所有城市,并且经过每一条公路恰好两次——来回各一次——这样公路两旁的景色都不会错过。 令小Hi苦恼的是 阅读全文
posted @ 2015-08-02 21:04 Przz 阅读(377) 评论(0) 推荐(0) 编辑
摘要: Virtual Participation Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 237 Accepted Submission(s) 阅读全文
posted @ 2015-08-01 18:38 Przz 阅读(199) 评论(0) 推荐(0) 编辑
摘要: Walk Out Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 2001 Accepted Submission(s): 376 Proble 阅读全文
posted @ 2015-07-31 17:28 Przz 阅读(137) 评论(0) 推荐(0) 编辑
摘要: The Goddess Of The Moon The Goddess Of The Moon Sample Input 2 10 50 12 1213 1212 1313231 12312413 12312 4123 1231 3 131 5 50 121 123 213 132 321 2 10 阅读全文
posted @ 2015-07-31 11:16 Przz 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Connect the Graph Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 108 Accepted Submission(s): 36 阅读全文
posted @ 2015-07-30 21:58 Przz 阅读(208) 评论(0) 推荐(0) 编辑