摘要:
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 阅读全文
摘要:
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 阅读全文