摘要: C. Two Seals time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output One very important person ha 阅读全文
posted @ 2017-08-04 10:22 #忘乎所以# 阅读(290) 评论(0) 推荐(0)
摘要: B. Flag of Berland time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output The flag of Berland is 阅读全文
posted @ 2017-08-04 10:18 #忘乎所以# 阅读(449) 评论(0) 推荐(0)
摘要: A. Text Volume time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given a text of si 阅读全文
posted @ 2017-08-04 10:14 #忘乎所以# 阅读(357) 评论(0) 推荐(0)
摘要: 1001 数组中和等于K的数对 基准时间限制:1 秒 空间限制:131072 KB 分值: 5 难度:1级算法题 给出一个整数K和一个无序数组A,A的元素为N个互不相同的整数,找出数组A中所有和等于K的数对。例如K = 8,数组A:{-1,6,5,3,4,2,9,0,8},所有和等于8的数对包括(- 阅读全文
posted @ 2017-08-04 10:11 #忘乎所以# 阅读(134) 评论(0) 推荐(0)
摘要: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2041 这题就是找出一组数据中出现次数最多的次数,然后就从第一个开始,以那个数循环输出就成了,当然 一开始 阅读全文
posted @ 2017-08-04 10:03 #忘乎所以# 阅读(211) 评论(0) 推荐(0)