码迷,mamicode.com
首页 >  
搜索关键字:zoj 2734    ( 3447个结果
zoj 1904 Beavergnaw 计算圆柱和圆台的体积
题目来源:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=904题意: 看图, 给出D, 和 抠掉的木材的体积V, 求图中 d.圆柱体积: pi * r^2 * h圆台体积: pi * (r1 ^2 + r2^2 + r1 *r2...
分类:其他好文   时间:2014-05-09 10:43:33    阅读次数:362
ZOJ 3780 Paint the Grid Again(topsort)
ZOJ Problem Set - 3780 Paint the Grid Again Time Limit: 2 Seconds      Memory Limit: 65536 KB Leo has a grid with N × N cells. He wants to paint each cell with a specific color (either black ...
分类:其他好文   时间:2014-05-09 02:00:35    阅读次数:506
zoj1444 Final Standings解题报告
想不到学ACM这么久,我还是通过这个题目才了解到ACM比赛中的具体成绩规则!!!!...
分类:其他好文   时间:2014-05-09 01:36:55    阅读次数:225
ZOJ 3229 有上下界最大流
1: /** 2: ZOJ 3229 有上下界的最大流 3: 两次求最大流的过程,非二分 4: 有源汇上下界的最大流问题, 首先连接 sink -> src, [0,INF]. 5: 根据net的正负,来建立 Supersrc 与 supersink 之间的边,做一次 maxflow. 6: 若所有...
分类:其他好文   时间:2014-05-08 22:39:11    阅读次数:412
ZOJ 3705 Applications 模拟
#pragma comment(linker, "/STACK:1024000000,1024000000")#include#include#include#include#include#include#include#include#include#include#include#includ...
分类:移动开发   时间:2014-05-08 19:33:18    阅读次数:493
zoj 1806 This Takes the Cake 计算凸四边形和三角形的面积
题目来源:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=806题意:凸四边形上 有8个点, 4个顶点 , 和 每2个顶点的中点。经过这8个点的每一条线段,将四边形分成2份, 求这两份面积最近的面积。分析: 枚举, 每条线段, 计...
分类:其他好文   时间:2014-05-08 18:44:03    阅读次数:284
ZOJ 2314 带上下界的可行流
对于无源汇问题,方法有两种. 1 从边的角度来处理. 新建超级源汇, 对于每一条有下界的边,x->y, 建立有向边 超级源->y ,容量为x->y下界,建立有向边 x-> 超级汇,容量为x->y下界.建立有向边 x->y,容量为x->y的上界减下界. 2 从点的角度来处理. 新建超级源汇,对于每个点...
分类:其他好文   时间:2014-05-08 15:18:48    阅读次数:306
zoj 1608 Two Circles and a Rectangle 判断两个圆是否能放入一个矩形中
题目来源:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=608分析:两个圆放到矩形的临界点图为:其中a为长, b为宽, r1 > r2红色三角形的三边长分别为:x = a - (r1 +r2)y = b - (r1 + r2)z...
分类:其他好文   时间:2014-05-08 14:17:58    阅读次数:377
[计算几何] zoj 3728 Collision
题目链接: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3728 题目意思: 给一个以原点(0,0)为圆 Collision Time Limit: 2 Seconds      Memory Limit: 65536 KB      Special Judge There's a r...
分类:其他好文   时间:2014-05-08 03:55:33    阅读次数:417
[dfs] zoj 3736 Pocket Cube
题目链接: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3736 Pocket Cube Time Limit: 2 Seconds      Memory Limit: 65536 KB Pocket Cube is a 3-D combination puzzle. It is a 2 ×...
分类:其他好文   时间:2014-05-07 23:53:24    阅读次数:709
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!