码迷,mamicode.com
首页 >  
搜索关键字:codeforce    ( 868个结果
Codeforce 270A - Fancy Fence (正多边形)
Emuskald needs a fence around his farm, but he is too lazy to build it himself. So he purchased a fence-building robot. He wants the fence to be a reg ...
分类:其他好文   时间:2017-07-31 12:30:17    阅读次数:172
Codeforce 459A - Pashmak and Garden (已知两点求另外两点构成正方形)
Pashmak has fallen in love with an attractive girl called Parmida since one year ago... Today, Pashmak set up a meeting with his partner in a romantic ...
分类:其他好文   时间:2017-07-30 20:29:42    阅读次数:150
Codeforce 515A - Drazil and Date
Someday, Drazil wanted to go on date with Varda. Drazil and Varda live on Cartesian plane. Drazil's home is located in point (0,?0) and Varda's home i ...
分类:其他好文   时间:2017-07-30 20:03:07    阅读次数:199
Codeforce 588A - Duff and Meat (贪心)
Duff is addicted to meat! Malek wants to keep her happy for n days. In order to be happy in i-th day, she needs to eat exactly ai kilograms of meat. T ...
分类:其他好文   时间:2017-07-30 12:55:36    阅读次数:166
Codeforce 230A - Dragons (sort)
Kirito is stuck on a level of the MMORPG he is playing now. To move on in the game, he's got to defeat all n dragons that live on this level. Kirito a ...
分类:其他好文   时间:2017-07-30 12:54:18    阅读次数:134
Codeforces 832D - Misha, Grisha and Underground
832D - Misha, Grisha and Underground 思路:lca,求两个最短路的公共长度。公共长度公式为(d(a,b)+d(b,c)-d(a,c))/2。 代码: ...
分类:其他好文   时间:2017-07-30 11:38:57    阅读次数:125
Snow Footprints CodeForces - 298A
There is a straight snowy road, divided into n blocks. The blocks are numbered from 1 to n from left to right. If one moves from the i-th block to the ...
分类:其他好文   时间:2017-07-30 00:59:13    阅读次数:234
Codeforces_813
A.统计总时间,从总时间开始找第一个能提交的点。 #include<bits/stdc++.h> using namespace std; int n,m,a[1005],ok[100005] = {0}; int main() { ios::sync_with_stdio(0); cin >> n ...
分类:其他好文   时间:2017-07-29 10:08:38    阅读次数:214
河南省多校联萌(一)
A没做 B地址 http://codeforces.com/problemset/problem/754/B 哎,一个可以说是普通的水题,却卡了一段时间WA数次由于考虑不周全和一些sb错误。 先是把题目中的'x'看做了'X',一口老血,后来懒得改上面(太多X了),就想着直接把x换成X,结果....在 ...
分类:其他好文   时间:2017-07-28 22:21:22    阅读次数:180
codeforces prblem 484 D
题意:一个数列,我们可以把他分成若干段,每段的值为最大值减去最小值,问最大的值和为多少 思路:肯定是单调的放在一起,那么峰值该如何处理,要么放在前面段,要么后面段,如:1 3 4 1 ,或者 1 3 7 6 ...
分类:其他好文   时间:2017-07-28 22:14:01    阅读次数:105
868条   上一页 1 ... 60 61 62 63 64 ... 87 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!