摘要: Silver Cow PartyTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 9111Accepted: 4097DescriptionOne cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is going to attend the big cow party to be held at farm #X (1 ≤ X ≤ N). A total of M (1 ≤ M ≤ 100,000) unidirectional (one-way 阅读全文
posted @ 2012-10-12 18:53 _sunshine 阅读(834) 评论(0) 推荐(0) 编辑
摘要: http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=1552超过半数的数字Time Limit: 2500 MSMemory Limit: 7000 KTotal Submit: 267(14 users)Total Accepted: 107(10 users)Special Judge: NoDescription给定一个n元素的序列,其中存放的都是整数类型的数据。现在保证给出的序列中有一个数,这个数的个数超过整个序列元素总个数的一半,请你找出这个数是多少。Input输入数据第一行 阅读全文
posted @ 2012-10-12 18:09 _sunshine 阅读(501) 评论(0) 推荐(0) 编辑