03 2017 档案

摘要:A - Remaining Time Time limit : 2sec / Memory limit : 256MB Score : 100 points Problem Statement Dolphin loves programming contests. Today, he will ta 阅读全文
posted @ 2017-03-31 19:24 樱花落舞 阅读(1045) 评论(0) 推荐(0) 编辑
摘要:Description T is a complete binary tree consisting of n vertices. It means that exactly one vertex is a root, and each vertex is either a leaf (and do 阅读全文
posted @ 2017-03-29 21:33 樱花落舞 阅读(310) 评论(0) 推荐(0) 编辑
摘要:Description n children are standing in a circle and playing the counting-out game. Children are numbered clockwise from 1 to n. In the beginning, the 阅读全文
posted @ 2017-03-29 21:25 樱花落舞 阅读(384) 评论(0) 推荐(0) 编辑
摘要:Description There are n cities situated along the main road of Berland. Cities are represented by their coordinates — integer numbers a1, a2, ..., an. 阅读全文
posted @ 2017-03-29 20:42 樱花落舞 阅读(264) 评论(0) 推荐(0) 编辑
摘要:Description One of Timofey's birthday presents is a colourbook in a shape of an infinite plane. On the plane n rectangles with sides parallel to coord 阅读全文
posted @ 2017-03-22 21:39 樱花落舞 阅读(237) 评论(0) 推荐(0) 编辑
摘要:Description Each New Year Timofey and his friends cut down a tree of n vertices and bring it home. After that they paint all the n its vertices, so th 阅读全文
posted @ 2017-03-22 21:18 樱花落舞 阅读(265) 评论(0) 推荐(0) 编辑
摘要:Description Young Timofey has a birthday today! He got kit of n cubes as a birthday present from his parents. Every cube has a number ai, which is wri 阅读全文
posted @ 2017-03-22 21:02 樱花落舞 阅读(261) 评论(0) 推荐(0) 编辑
摘要:Description Comrade Dujikov is busy choosing artists for Timofey's birthday and is recieving calls from Taymyr from Ilia-alpinist. Ilia-alpinist calls 阅读全文
posted @ 2017-03-22 20:54 樱花落舞 阅读(213) 评论(0) 推荐(0) 编辑
摘要:Description For the given sequence with n different elements find the number of increasing subsequences with k + 1 elements. It is guaranteed that the 阅读全文
posted @ 2017-03-19 20:45 樱花落舞 阅读(124) 评论(0) 推荐(0) 编辑
摘要:Description Pashmak's homework is a problem about graphs. Although he always tries to do his homework completely, he can't solve this problem. As you 阅读全文
posted @ 2017-03-19 20:33 樱花落舞 阅读(182) 评论(0) 推荐(0) 编辑
摘要:Description Parmida is a clever girl and she wants to participate in Olympiads this year. Of course she wants her partner to be clever too (although h 阅读全文
posted @ 2017-03-19 20:24 樱花落舞 阅读(211) 评论(0) 推荐(0) 编辑
摘要:Description Recently Pashmak has been employed in a transportation company. The company has kbuses and has a contract with a school which has n studen 阅读全文
posted @ 2017-03-19 20:14 樱花落舞 阅读(218) 评论(0) 推荐(0) 编辑
摘要:Description Pashmak decided to give Parmida a pair of flowers from the garden. There are n flowers in the garden and the i-th of them has a beauty num 阅读全文
posted @ 2017-03-19 20:05 樱花落舞 阅读(187) 评论(0) 推荐(0) 编辑
摘要:Description Pashmak has fallen in love with an attractive girl called Parmida since one year ago... Today, Pashmak set up a meeting with his partner i 阅读全文
posted @ 2017-03-19 19:59 樱花落舞 阅读(248) 评论(0) 推荐(0) 编辑
摘要:官方题解:http://www.cnblogs.com/qscqesze/p/6516139.html 喵哈哈村的狼人杀大战(1) 描述 喵哈哈村最近热衷于玩一个叫做狼人杀的游戏! 张小田今天她抽到的是民的身份,按照她的一贯玩法,她不会考虑发言者的发言,她只考虑站队情况。 现在是警上竞选的投票环节, 阅读全文
posted @ 2017-03-07 21:03 樱花落舞 阅读(285) 评论(0) 推荐(0) 编辑
摘要:无耻的复制大佬的代码 1001 怎么写模拟都过不去,只能用数学方式写了 合理的摆放就两种,一种平分,一种一个小的和两个大的放在一块 我们取最小值 1002 没啥好说的,注意等于0的情况 1003 如果做过HDU1222题估计会好很多,结论就是gcd(2*n-2,k)==1时,所有格子可以踩中 HDU 阅读全文
posted @ 2017-03-05 17:13 樱花落舞 阅读(809) 评论(3) 推荐(0) 编辑
摘要:官方题解:http://www.cnblogs.com/qscqesze/p/6480284.html 哗啦啦村的刁难(1) 描述 哗啦啦村作为喵哈哈村的对头,于是他们准备给喵哈哈村一个好看。 哗啦啦村的头号长老——鱼先生,就提出了以下问题: 给你三个木棍,问你这三个木棍,是否能够组成一个非退化的三 阅读全文
posted @ 2017-03-01 23:43 樱花落舞 阅读(305) 评论(0) 推荐(0) 编辑
摘要:官方题解: http://www.cnblogs.com/qscqesze/p/6418555.html#3623453 喵哈哈村的魔法石 描述 传说喵哈哈村有三种神奇的魔法石:第一种魔法石叫做人铁石,拥有A的能量;第二种魔法石叫做地冈石,拥有B的能量;而第三种,则是最神奇的天玄石,拥有无可比拟的C 阅读全文
posted @ 2017-03-01 23:01 樱花落舞 阅读(323) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示