摘要: A group of NP (2 ≤ NP ≤ 10) uniquely named friends has decided to exchange gifts of money. Each of these friends might or might not give some money to 阅读全文
posted @ 2017-09-28 14:19 淇洹 阅读(240) 评论(0) 推荐(0) 编辑
摘要: It is a well-known fact that behind every good comet is a UFO. These UFOs often come to collect loyal supporters from here on Earth. Unfortunately, th 阅读全文
posted @ 2017-09-28 12:39 淇洹 阅读(350) 评论(0) 推荐(0) 编辑
摘要: The simplest program on the training pages: read in two integers from a single line and print their sum. PROGRAM NAME: test INPUT FORMAT Line 1: Two s 阅读全文
posted @ 2017-09-28 12:04 淇洹 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 包括: 两个高精度正整数加法 两个高精度正整数乘法 两个高精度正整数减法 两个高精度正整数除法 两个高精度正整数求余 两个高精度正整数数求最大公约数 两个高精度正整数数求最小公倍数 阅读全文
posted @ 2017-09-18 21:59 淇洹 阅读(2344) 评论(0) 推荐(2) 编辑
摘要: ios::sync_with_stdio(false); iostream默认与stdio关联在一起的,以使两者同步,因此消耗了iostream不少性能,设置为false后,不再同步了,iostream的性能提高了很多倍。关闭后,cin不能和scanf,sscanf, getchar, fgets之 阅读全文
posted @ 2017-09-17 11:42 淇洹 阅读(88) 评论(0) 推荐(0) 编辑
摘要: Description Andy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task for him, as the number of words that he knows 阅读全文
posted @ 2017-09-16 15:10 淇洹 阅读(572) 评论(0) 推荐(0) 编辑
摘要: 描述 众所周知,IOIForum有很多水王,他们的发贴数是如此之多,以至于必须要用高精度数才能保存。 为了迎接国庆,IOIForum决定举行一次水王争霸赛,比赛的规则是将这些水王截止到2003年9月30日23时59分59秒这一刻所发的总贴数从大到小进行排序。每个水王当然都想取得尽量靠前的名次,所以他 阅读全文
posted @ 2017-09-16 01:08 淇洹 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 描述 高精度乘法输入:两行,每行表示一个非负整数(不超过10000位)输出:两数的乘积。 样例输入: 99101Copy 样例输出: 9999Copy 限制 各个测试点1s 阅读全文
posted @ 2017-09-16 00:52 淇洹 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 2016NOIP普及组(北京)一等奖分数线:245 2016NOIP普及组(北京)二等奖分数线:140 2016NOIP普及组(北京)三等奖分数线:80 阅读全文
posted @ 2017-09-15 23:11 淇洹 阅读(2150) 评论(0) 推荐(0) 编辑
摘要: 证书编号 准考证号 省份 姓名 性别 总分 学校 年级 *1 CCF-NOIP2016-0120 BJ-0263 北京 张子禾 男 600 中国人民大学附属中学 高三 *2 CCF-NOIP2016-0121 BJ-0198 北京 王子健 男 578 首都师范大学附属中学 高二 *3 CCF-NOI 阅读全文
posted @ 2017-09-15 22:36 淇洹 阅读(1079) 评论(0) 推荐(0) 编辑