码迷,mamicode.com
首页 >  
搜索关键字:uva 刘汝佳 算法入门    ( 8426个结果
Uva 563 网络流
题目链接:点击打开链接 题意:给定s*a的方格点,有b个坐标是有且仅有一个人的。 每个点只能被经过一次 能不能让所有人都移动到矩阵边缘。 拆点一下,建图还是挺明显的。。 太卡了提交半天没结果,贴一下代码改天再搞好了。。 #include #include #include #include #include using namespace std; #define ll...
分类:其他好文   时间:2014-06-05 04:36:13    阅读次数:238
UVA 12508 - Triangles in the Grid(计数问题)
12508 - Triangles in the Grid 题目链接 题意:给定一个n?m格子的矩阵,然后给定A,B,问能找到几个面积在A到B之间的三角形。 思路:枚举每一个子矩阵,然后求[0,A]的个数减去[0,B]的个数就是答案,然后对于每个子矩阵个数很好求为(n?r+1)?(m?c+1)。关键在于怎么求每个子矩阵的符合个数。 想了好久,参考别人题解才想出来,分3种情况...
分类:其他好文   时间:2014-06-05 01:09:44    阅读次数:248
UVa-101 - The Blocks Problem
The Blocks Problem  Background  Many areas of Computer Science use simple, abstract domains for both analytical and empirical studies. For example, an early AI study of planning and robo...
分类:其他好文   时间:2014-06-04 21:55:37    阅读次数:313
UVA 540(队列)
Description   Team Queue  Queues and Priority Queues are data structures which are known to most computer scientists. The Team Queue, however, is not so well known, though ...
分类:其他好文   时间:2014-06-03 04:45:44    阅读次数:288
UVA 548(二叉树重建与遍历)
J - Tree Time Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %llu Submit Status Appoint description:  System Crawler  (2014-05-16) Description   Tree  ...
分类:其他好文   时间:2014-06-03 03:06:52    阅读次数:359
uva301重做,一次ac!
旧题重做,一次AC!...
分类:其他好文   时间:2014-06-03 02:26:12    阅读次数:232
UVA 297 Quadtrees(四叉树建树、合并与遍历)
K - Quadtrees Time Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %llu Submit Status Appoint description:  System Crawler  (2014-01-02) Description  Quadt...
分类:其他好文   时间:2014-06-03 01:41:23    阅读次数:268
UVA 699(二叉树建树与遍历)
M - The Falling Leaves Time Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %llu Submit Status Appoint description:  System Crawler  (2014-02-08) Description ...
分类:其他好文   时间:2014-06-03 00:55:54    阅读次数:342
UVA 712(二叉树模拟)
L - S-Trees Time Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %llu Submit Status Appoint description:  System Crawler  (2014-04-01) Description   S-Tree...
分类:其他好文   时间:2014-06-03 00:53:43    阅读次数:335
OJ帐号保存
TOJ 614173971 HDU 宇智波佐助 POJ shiai ZOJ henyumen UVa henyumen Light OJ HENYUMEN...
分类:其他好文   时间:2014-06-01 13:59:09    阅读次数:210
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!