码迷,mamicode.com
首页 >  
搜索关键字:ural 1809    ( 1009个结果
URAL 1551. Sumo Tournament(数学啊 )
URAL 1551. Sumo Tournament(数学啊 )...
分类:其他好文   时间:2015-03-20 23:53:36    阅读次数:347
URAL 1613. For Fans of Statistics(STL 数学啊 )
URAL 1613. For Fans of Statistics(STL 数学啊 )...
分类:其他好文   时间:2015-03-20 23:52:43    阅读次数:387
ural 1297 Palindrome(Manacher模板题)
转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraud求最长回文子串。http://acm.timus.ru/problem.aspx?space=1&num=1297Manacher模板题,复杂度O(n),做这题纯属是为了验一下自己写的模板是否正确。当然这...
分类:其他好文   时间:2015-03-20 01:22:43    阅读次数:202
URAL 1297. Palindrome(输出最长回文子串--后缀数组)
Input The input consists of a single line, which contains a string of Latin alphabet letters (no other characters will appear in the string). String length will not exceed 1000 characters. Outpu...
分类:编程语言   时间:2015-03-19 22:09:51    阅读次数:176
HDU 1520 Anniversary party(DFS或树形DP)
Problem Description There is going to be a party to celebrate the 80-th Anniversary of the Ural State University. The University has a hierarchical structure of employees. It means that the supervi...
分类:其他好文   时间:2015-03-19 22:02:07    阅读次数:105
URAL 1614. National Project “Trams” (图论大YY)
1614. National Project “Trams” Time limit: 0.5 second Memory limit: 64 MB President has declared the development of tram service a priority national project. As a part of this project, Yeka...
分类:其他好文   时间:2015-03-19 18:32:12    阅读次数:145
URAL 1823 Ideal Gas
题意: 知道三个变量求剩下一个变量。其中R是已知常量=8.314。其中V,T必须要大于0。如果出现矛盾就输出error。如果出现不确定的情况输出undefined。这一题构思巧妙 1 #include 2 #include 3 #include 4 #include 5 using n...
分类:其他好文   时间:2015-03-17 23:09:59    阅读次数:137
URAL 1825. Ifrit Bomber 2 两圆的面积并
题意:给两个环,求这两个环覆盖的总面积。 给的数据是,两圆环距离d,第一个环的内圆半径r1,外圆半径R1,以及r2,R2。 做法:先把两个环各自的面积求出来,要算总覆盖面积的话,那接下来只用再计算出两者相交的面积即可。 两者相交的面积为=R1UR2 -R1Ur2 -r1UR2+r1Ur2. 其中R1UR2就是两个大圆 的面积并。...
分类:其他好文   时间:2015-03-17 21:56:58    阅读次数:179
URAL 1837. Isenbaev's Number (map + Dijkstra || BFS)
1837. Isenbaev's Number Time limit: 0.5 second Memory limit: 64 MB Vladislav Isenbaev is a two-time champion of Ural, vice champion of TopCoder Open 2009, and absolute champion of ACM ICP...
分类:其他好文   时间:2015-03-17 08:11:15    阅读次数:257
URAL 1822. Hugo II's War 树的结构+二分
题意: 输入 n 个人,3是表示有多少时间让编号1 的人召集人马。 然后按2到n 的编号 输入pi 和ti。分别是那个人直接 领主,和召集自己本部的人所需的时间。 编号1 是大领主 。 假设 每个领主都只能在 直属下属 有≥x% 的人召齐了人马才可以开始招自己的人。 问x最大是多少,可以让大领主在 t 的时间内 召齐自己的人出发打仗。 做法: 二分x,判断下这个x能否在所需时间内召齐人马。...
分类:其他好文   时间:2015-03-16 23:10:57    阅读次数:231
1009条   上一页 1 ... 69 70 71 72 73 ... 101 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!