码迷,mamicode.com
首页 >  
搜索关键字:round    ( 15566个结果
Codeforces Beta Round #3 C. Tic-tac-toe
井字棋 ,这个模拟也是醉了 题目大意: 给出一个井字棋棋局,判断他是不是合法的。若合法且出现某人赢是谁赢了,没出现某人赢是下一步该谁下,还是平局。 解题思路: 分类讨论,就是模拟啊   恶心死~~ 下面是(又臭又长的)代码: #include #include #include #include #include #includ...
分类:其他好文   时间:2014-11-24 13:34:51    阅读次数:262
Codeforces Round #279 (Div. 2)
A. Team Olympiad水题英文还这么长。。。 1 #include 2 #define eps 1e-9 3 #define FOR(i,j,k) for(int i=j;i a[5]; 9 int num,t;10 int main()11 {12 scanf("%d",&n);...
分类:其他好文   时间:2014-11-24 13:19:48    阅读次数:269
Codeforces Beta Round #3 B. Lorry
一个贪心题写成这样也是醉了  ,这种状态注定要打酱油了么  ,不甘心啊~~ 一辆车可以承载体积V的货物,A种物品1个单位体积,B种2个单位体积,某种物品虽然体积相同但是能力却不相同。 给出N个物品它的物品类型和能力值。求这辆车可以承载的物品的最大能力值之和是多少。 解题思路: 排序+贪心+条件判断,排序条件是单位体积的能力大小。 下面是代码...
分类:其他好文   时间:2014-11-24 11:54:53    阅读次数:264
Codeforces Round #279 (Div. 2) ABCD
Codeforces Round #279 (Div. 2)做得我都变绿了!Problems#Name A Team Olympiadstandard input/output1 s, 256 MB x2377 B Queuestandard input/output2 s, 256 MB ...
分类:其他好文   时间:2014-11-24 00:40:15    阅读次数:417
Codeforces Round #279 (Div. 2) 题解集合
终于有场正常时间的比赛了。。。毛子换冬令时还正是好啊233做了ABCD,E WA了3次最后没搞定,F不会= =那就来说说做的题目吧= =A. Team Olympiad水题嘛= =就是个贪心什么的乱搞,貌似放A题难了 1 #include 2 #include 3 4 using namesp...
分类:其他好文   时间:2014-11-23 23:09:24    阅读次数:398
CodeForces Round 279 D Chocolate
Polycarpus likes giving presents to Paraskevi. He has bought two chocolate bars, each of them has the shape of a segmented rectangle. The first bar is...
分类:其他好文   时间:2014-11-23 23:06:07    阅读次数:380
Codeforces Round #278 (Div. 2)
A. Giga Tower模拟即可,略过B. Candy Boxes四个整数x1..x4,满足x10,那么Y就赢了。y可以买属性,每一点的价格分别为h,a,d给定他们两个的三个属性值,给定价格,问y要战胜怪物m需要花费最少多少钱在买属性上?给定的属性值都在[1,100]剪枝搜索defy最大为100,...
分类:其他好文   时间:2014-11-23 15:43:28    阅读次数:153
hdu-5108-Alexandra and Prime Numbers(求最大质因数) (BestCoder Round #19)
Alexandra and Prime Numbers Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Problem DescriptionAlexandra has a little ....
分类:其他好文   时间:2014-11-23 12:56:30    阅读次数:268
HDU-5108-Alexandra and Prime Numbers (BestCoder Round #19)
Alexandra and Prime Numbers Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 319    Accepted Submission(s): 120 Problem Description ...
分类:其他好文   时间:2014-11-23 09:22:38    阅读次数:220
HDU-5104-Primes Problem (BestCoder Round #18!!)
Primes Problem Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 817    Accepted Submission(s): 382 Problem Description Given a numbe...
分类:其他好文   时间:2014-11-23 09:20:09    阅读次数:327
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!