摘要:
Description Comrade Dujikov is busy choosing artists for Timofey's birthday and is recieving calls from Taymyr from Ilia-alpinist. Ilia-alpinist calls 阅读全文
摘要:
Description For the given sequence with n different elements find the number of increasing subsequences with k + 1 elements. It is guaranteed that the 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
官方题解:http://www.cnblogs.com/qscqesze/p/6516139.html 喵哈哈村的狼人杀大战(1) 描述 喵哈哈村最近热衷于玩一个叫做狼人杀的游戏! 张小田今天她抽到的是民的身份,按照她的一贯玩法,她不会考虑发言者的发言,她只考虑站队情况。 现在是警上竞选的投票环节, 阅读全文
摘要:
无耻的复制大佬的代码 1001 怎么写模拟都过不去,只能用数学方式写了 合理的摆放就两种,一种平分,一种一个小的和两个大的放在一块 我们取最小值 1002 没啥好说的,注意等于0的情况 1003 如果做过HDU1222题估计会好很多,结论就是gcd(2*n-2,k)==1时,所有格子可以踩中 HDU 阅读全文
摘要:
官方题解:http://www.cnblogs.com/qscqesze/p/6480284.html 哗啦啦村的刁难(1) 描述 哗啦啦村作为喵哈哈村的对头,于是他们准备给喵哈哈村一个好看。 哗啦啦村的头号长老——鱼先生,就提出了以下问题: 给你三个木棍,问你这三个木棍,是否能够组成一个非退化的三 阅读全文