上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 66 下一页
摘要: 零件组装 描述 现有n个零件,小Y花费了很多时间来收集它们,现在他想把零件拼在一起,拼完就可以召唤神龙了。已知零件之间存在相邻的关系,拥有相邻关系的零件在最终的组装结果中就是相邻的,并且组装过程中每次只能通过相邻关系来组合零件。小Y每次可以选择两个零件(也可以是两个零件块,或一个零件与一个零件块)拼 阅读全文
posted @ 2017-07-10 20:46 meekyan 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 学不动 阅读全文
posted @ 2017-07-09 17:31 meekyan 阅读(181) 评论(6) 推荐(0) 编辑
摘要: 题意 游乐园被描述成一张 n 个点,m 条边的无向图(无重边,无自环)。每个点代表一个娱乐项目,第 i 个娱乐项目需要耗费 ci 分钟的时间,会让小 y 和妹子的开心度分别增加 h1i ,h2i ,他们俩初始的开心度都是 0 。每条边代表一条路,第 i 条边连接编号为 xi , yi 的两个娱乐项目 阅读全文
posted @ 2017-07-08 09:38 meekyan 阅读(472) 评论(0) 推荐(0) 编辑
摘要: E. Liar The first semester ended. You know, after the end of the first semester the holidays begin. On holidays Noora decided to return to Vičkopolis. 阅读全文
posted @ 2017-07-07 20:34 meekyan 阅读(203) 评论(0) 推荐(0) 编辑
摘要: D. My pretty girl Noora In Pavlopolis University where Noora studies it was decided to hold beauty contest "Miss Pavlopolis University". Let's describ 阅读全文
posted @ 2017-07-07 20:26 meekyan 阅读(242) 评论(0) 推荐(0) 编辑
摘要: C. Hacker, pack your bags! It's well known that the best way to distract from something is to do one's favourite thing. Job is such a thing for Leha. 阅读全文
posted @ 2017-07-07 20:18 meekyan 阅读(337) 评论(0) 推荐(0) 编辑
摘要: B. Crossword solving Erelong Leha was bored by calculating of the greatest common divisor of two factorials. Therefore he decided to solve some crossw 阅读全文
posted @ 2017-07-07 20:12 meekyan 阅读(519) 评论(0) 推荐(0) 编辑
摘要: A. I'm bored with life Holidays have finished. Thanks to the help of the hacker Leha, Noora managed to enter the university of her dreams which is loc 阅读全文
posted @ 2017-07-07 20:07 meekyan 阅读(376) 评论(0) 推荐(0) 编辑
摘要: wmq的A×B Problem 发布时间: 2017年4月9日 17:06 最后更新: 2017年4月9日 17:07 时间限制: 3000ms 内存限制: 512M 描述 这是一个非常简单的问题。 wmq如今开始学习乘法了!他为了训练自己的乘法计算能力,写出了n个整数,并且对每两个数a,b都求出了 阅读全文
posted @ 2017-07-02 22:07 meekyan 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 3527: [Zjoi2014]力 Description 给出n个数qi,给出Fj的定义如下: 令Ei=Fi/qi,求Ei. 给出n个数qi,给出Fj的定义如下: 令Ei=Fi/qi,求Ei. Input 第一行一个整数n。 接下来n行每行输入一个数,第i行表示qi。 n≤100000,0<qi< 阅读全文
posted @ 2017-07-02 16:56 meekyan 阅读(163) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 66 下一页