摘要: Knight Moveshttp://acm.hdu.edu.cn/showproblem.php?pid=1372Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3908 Accepted Submission(s): 2432 Problem DescriptionA friend of you is doing research on the Traveling Knight Problem (TKP) where you are t 阅读全文
posted @ 2013-01-09 16:40 Jack Ge 阅读(215) 评论(0) 推荐(0) 编辑
摘要: Jury Compromisehttp://poj.org/problem?id=1015Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 22094Accepted: 5670Special JudgeDescriptionIn Frobnia, a far-away country, the verdicts in court trials are determined by a jury consisting of members of the general public. Every time a trial is se 阅读全文
posted @ 2013-01-09 15:48 Jack Ge 阅读(365) 评论(0) 推荐(0) 编辑
摘要: Maximum sumhttp://poj.org/problem?id=2479Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 28485Accepted: 8713DescriptionGiven a set of n integers: A={a1, a2,..., an}, we define a function d(A) as below:Your task is to calculate d(A).InputThe input consists of T(#include#includeusing namespac 阅读全文
posted @ 2013-01-09 09:39 Jack Ge 阅读(308) 评论(0) 推荐(0) 编辑