码迷,mamicode.com
首页 >  
搜索关键字:zoj 3456    ( 3447个结果
ZOJ 3209 Treasure Map (Dancing Links)
Treasure MapTime Limit:2 Seconds Memory Limit:32768 KBYour boss once had got many copies of a treasure map. Unfortunately, all the copies are now brok...
分类:其他好文   时间:2014-05-29 04:02:47    阅读次数:313
ZOJ 3772 Calculate the Function 线段树+矩阵
Calculate the FunctionTime Limit:2000MSMemory Limit:65536KB64bit IO Format:%lld & %lluSubmitStatusAppoint description:DescriptionYou are given a list ...
分类:其他好文   时间:2014-05-27 18:03:16    阅读次数:394
zoj3672 Gao The Sequence
原地踏步了半年,感觉一切都陌生了~题意:a[i]-一个任意的数,这个数要等于a[1]~a[i-1]每个数减去任意一个数,经过多次这样的变换到达目标b序列,能到达就yes不能到达距no.一开始各种分析,所有的差的和必须是偶数,sum(cha[1~i-1])>=cha[i](其中cha[i]=a[i]-...
分类:其他好文   时间:2014-05-26 07:09:20    阅读次数:231
zoj 3538 Arrange the Schedule
Arrange the Schedule Time Limit: 1 Second      Memory Limit: 65536 KB In Summer 2011, the ZJU-ICPC Team has a n-days training schedule. ZJU-ICPC Team has been divided into 4 Group: Akiba, BiliBi...
分类:其他好文   时间:2014-05-26 04:05:08    阅读次数:335
ZOJ 3728 Collision
---恢复内容开始---今天无事水一水,结果就看到这个水题了!题意思是 有俩个区域如图求在俩个圆之间的运动时间 给出 初始的开始点和速度的矢量式;而且这个点 不再俩个圆之间的区域,且碰到内测员会反弹: 其实就是求 与俩个圆的交点! 代码如下:() #include #include #inclu.....
分类:其他好文   时间:2014-05-25 13:52:10    阅读次数:230
zoj 3195 Design the city
DescriptionCerror is the mayor of city HangZhou. As you may know, the traffic system of this city is so terrible, that there are traffic jams everywhe...
分类:其他好文   时间:2014-05-25 11:40:26    阅读次数:393
最小生成树-并查集-Kruskal-zoj-2048-special judge
大意:几个小镇要通过公路互通,已经建成了一些公路,问还需要建哪几条,并满足公路总长最小。 有多组输入,每组输入的格式是:n个城镇的坐标(x,y) m条已经修好的路(公路一端城镇编号,另一端编号)。 输出格式为:(待建公路一端城镇编号,另一端编号)特殊判题,不用在意输出顺序。 注意:相邻两组测试样例的输出要有空行。最后一组后不加空行。不然就WR,竟然还不是PE!zoj不够友好。...
分类:其他好文   时间:2014-05-25 01:48:49    阅读次数:338
zoj-1610-Count the Colors-线段树-区域更新,单点查询
线段树的区域更新,然后单点查询。 x1 x2 c:区域更新x1-x2为c。 全部染色之后,从0-8000依次查询每个点的颜色。然后存贮每一种颜色有几块。 #include #include #include #include #include using namespace std; #define lmin 0 #define rmax 8000 #define lson l,(l+r)/...
分类:其他好文   时间:2014-05-24 19:10:12    阅读次数:221
ZOJ Problem Set - 1005
注意,条件:B>=C 。应考虑B=C的情况。#includeusing namespace std;int A,B,C;void jugs(int a,int b,int C){ if(b==C) { cout=B) { a=A-(B-b...
分类:其他好文   时间:2014-05-24 09:34:19    阅读次数:288
ZOJ 1675 矩形与圆的面积交
Little Mammoth Time Limit: 5 Seconds      Memory Limit: 32768 KB      Special Judge It is well known that mammoths used to live in caves. This is a story of a little mammoth who lived in a ca...
分类:其他好文   时间:2014-05-22 22:49:43    阅读次数:495
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!