码迷,mamicode.com
首页 >  
搜索关键字:多校    ( 1180个结果
HDU 5375 Gray code
HDU 5375 Gray code #include #include #include #include #define maxn 200005 #define ll __int64 #define INF 0xfffffff using namespace std; ll ans[maxn][2]; char s[maxn]; int a[maxn]; int main(){ in...
分类:其他好文   时间:2015-08-11 18:50:01    阅读次数:89
[2015hdu多校联赛补题]hdu5303 Delicious Apples
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5303题意:在一个长为L的环形路径上种着一些苹果树,告诉你苹果树的位置(题目中以0~L指示坐标)及苹果树上的苹果数,现在你要采集所有的苹果(大概是你有一个容量为K的筐,你采集的苹果要装在筐里,采集完要回到...
分类:移动开发   时间:2015-08-11 07:02:23    阅读次数:131
hdu5355 Cake
Problem Description There are m soda and today is their birthday. The 1-st soda has prepared n cakes with size 1,2,…,n. Now 1-st soda wants to divide the cakes into m parts so that the ...
分类:其他好文   时间:2015-08-10 22:08:02    阅读次数:125
[2015hdu多校联赛补题]hdu5302 Connect the Graph
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5302题意:给你一个无向图,它的边要么是黑色要么是白色,且图上的每个点最多与两个黑边两个白边相连。现在,Demon将图分成两部分,一部分包含所有的黑边,另一部分包括所有的白边,给你白边图中度为0的点的数量...
分类:其他好文   时间:2015-08-10 21:49:37    阅读次数:121
HDU 4686 (推公式+矩阵快速幂)
HDU 4686 (推公式+矩阵快速幂) 2013年多校联合训练...
分类:其他好文   时间:2015-08-10 20:02:02    阅读次数:119
HDU 5353 Average(平分值,求步聚)多校6
Average Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 1948    Accepted Submission(s): 495 Special Judge Problem Description There ar...
分类:其他好文   时间:2015-08-10 12:08:11    阅读次数:112
HDU 5361 In Touch (使用SET集合)
In Touch Time Limit: 8000/4000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 1184    Accepted Submission(s): 313 Problem Description There are n soda liv...
分类:其他好文   时间:2015-08-10 02:00:56    阅读次数:129
[2015hdu多校联赛补题]hdu5299 Circles Game
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5299题意:在欧几里得平面上有n个圆,圆之间不会相交也不会相切,现在Alice和Bob玩游戏,两人轮流选择一个圆删除它和它包含的所有圆(Alice先手),在自己的轮次无圆可删判输,问你谁会赢得比赛解:先将...
分类:其他好文   时间:2015-08-09 18:31:30    阅读次数:162
hdu5358 First One
Problem Description soda has an integer array a1,a2,…,an. Let S(i,j) be the sum of ai,ai+1,…,aj. Now soda wants to know the value below: ∑i=1n∑j=in(?log2S(i,j)?+1)×(i+j) Note: In this p...
分类:其他好文   时间:2015-08-09 17:08:50    阅读次数:93
2015 多校赛 第五场 1010 (hdu 5352)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5352看题看得心好累。题目大意:给出 n 个点,依次执行 m 次操作:输入“1 x”时,表示将与 x 连通的点全部修复;输入“2 x y”,表示在 x 与 y 之间加一条边;输入“3 x y”,表示删除 ...
分类:其他好文   时间:2015-08-08 18:14:07    阅读次数:172
1180条   上一页 1 ... 70 71 72 73 74 ... 118 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!