码迷,mamicode.com
首页 >  
搜索关键字:ural 1809    ( 1009个结果
思维题 URAL 1409 Two Gangsters
题目传送门 1 /* 2 思维题:注意题目一句话:At some moment it happened so that they shot one and the same can. 3 如果两个人都有射中的话,肯定一个can同时被打中 4 */ 5 #includ...
分类:其他好文   时间:2015-07-18 18:15:05    阅读次数:126
二分图匹配(匈牙利算法) URAL 1721 Two Sides of the Same Coin
题目传送门 1 /* 2 题意:三种人,statements,testdata,anthing。要求两个人能完成s和t两个工作,且rank相差2 3 二分图匹配:此题学习建图技巧,两个集和内部一定没有边相连,rank模4小于2和大于等于2的人才能搭配,并且相差正好2, 4 ...
分类:编程语言   时间:2015-07-18 16:57:17    阅读次数:116
思维题 URAL 1718 Rejudge
题目传送门 1 /* 2 题意:数据加10组,再删掉第6组数据,问rejudge后最少最多几个作者收到邮件 3 思维题:当错在6时结果是不一定,错在7时是一定改变,因为会变成6 4 思路没错,但用结构题排序一直WA,代码有毒!学习使用set容器。 5 */ 6 #includ...
分类:其他好文   时间:2015-07-15 22:34:31    阅读次数:136
树形DP URAL 1039 Anniversary Party
题目传送门 1 /* 2 题意:上司在,员工不在,反之不一定。每一个人有一个权值,问权值和最大多少。 3 树形DP:把上司和员工的关系看成根节点和子节点的关系,两者有状态转移方程: 4 dp[rt][0] += max (dp[son][1], dp[son]...
分类:其他好文   时间:2015-07-14 19:37:50    阅读次数:98
【插头DP】URAL 1519 Formula 1
通道:http://acm.timus.ru/problem.aspx?space=1&num=1519题意:单回路,经过全部可达点,有阻碍点。代码:#include #include #include using namespace std;const int MAX_N = 13;const i...
分类:其他好文   时间:2015-07-10 18:56:11    阅读次数:111
URAL 2025. Line Fighting (math)
2025. Line Fighting Time limit: 1.0 second Memory limit: 64 MB Boxing, karate, sambo… The audience is sick of classic combat sports. That is why a popular sports channel launches a new compet...
分类:其他好文   时间:2015-06-24 16:35:10    阅读次数:134
URAL 1601. AntiCAPS (strings)
1601. AntiCAPS Time limit: 0.5 second Memory limit: 64 MB The blonde Angela has a new whim: internet chats. Of course, as any blonde, shewrites her messages using the upper case. You are the ...
分类:其他好文   时间:2015-06-24 12:58:34    阅读次数:120
URAL 1180. Stone Game (博弈 + 规律)
1180. Stone Game Time limit: 1.0 second Memory limit: 64 MB Two Nikifors play a funny game. There is a heap of N stones in front of them. Both Nikifors in turns take some stones from the hea...
分类:其他好文   时间:2015-06-23 18:02:36    阅读次数:108
URAL 1796. Amusement Park (math)
1796. Amusement Park Time limit: 1.0 second Memory limit: 64 MB On a sunny Sunday, a group of children headed by their teacher came to an amusement park. Aunt Frosya,who was a very kind and q...
分类:其他好文   时间:2015-06-23 17:50:55    阅读次数:124
URAL 1902. Neo-Venice
1902. Neo-Venice Time limit: 1.0 second Memory limit: 64 MB Mars was the first planet colonized by humans. After a long terraforming process its appearance has changed completely. From the re...
分类:其他好文   时间:2015-06-23 15:52:31    阅读次数:86
1009条   上一页 1 ... 59 60 61 62 63 ... 101 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!