http://acm.fzu.edu.cn/problem.php?pid=2169思路:建立一个邻接表,利用搜索中回溯把走过的路标记为1,然后把这些标记为1的值全部加起来。
Problem 2169 shadowAccept: 97Submit: 274 Time Limit: 1000 mSec...
分类:
其他好文 时间:
2014-07-22 23:16:14
阅读次数:
375
public class DoTXT { // 定义成员变量:路径,文件对象,临时变量
private String path; // 文件路径 private File f; private FileReader fr; // 所需文件流对象
private File...
分类:
其他好文 时间:
2014-07-22 23:13:15
阅读次数:
300
最近,捣腾了一阵子在xp系统上安装ArcGIS
Server10.0(下方均简称server),解决了一些初学者可能面临的problem,给大家贴出来,希望能够给初学者一些有益的帮助。我的系统环境:XP系统已安装了VS2010(安装过了.net
framework 4.0)安装好了arcgisdes...
分类:
其他好文 时间:
2014-07-22 23:11:34
阅读次数:
439
题目:http://poj.org/problem?id=3044题意:以坐标的形式给出一张图,表示一些楼房的正视图,求出楼房的最少个数。分析:和小学常做的立方体问题很像,很容易想到一个贪心方法,那就是尽量把矮的楼房放在高的楼房的前面,即连续的等高的一些"X"我们把它视为一座楼房。
具体的做法...
分类:
其他好文 时间:
2014-07-22 23:09:12
阅读次数:
373
A + B Problem IITime Limit: 2000/1000 MS
(Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s):
199099Accepted Submission(s): 3809...
分类:
其他好文 时间:
2014-07-22 23:08:54
阅读次数:
260
Problem C: A Walk Through the ForestJimmy
experiences a lot of stress at work these days, especially since his accident
made working difficult. To rel...
分类:
其他好文 时间:
2014-04-29 17:21:46
阅读次数:
368
Validate if a given string is numeric.Some
examples:"0"=>true" 0.1 "=>true"abc"=>false"1
a"=>false"2e10"=>trueNote:It is intended for the problem stat...
分类:
其他好文 时间:
2014-04-29 16:45:45
阅读次数:
398
参数URL:http://blog.csdn.net/qwiwuqo/article/details/8970621安装flask之前,你必须要先安装python和easy_install。安装
virtualenv,这个主要是用来做解释器环境隔离的,避免同一机器上的多个python或者多个pyth...
分类:
编程语言 时间:
2014-04-29 16:38:46
阅读次数:
446
poj 1279 求半平面交的
面积题目来源:http://poj.org/problem?id=1279分析: 求半平面交的 面积代码如下:const double EPS =
1e-8;const int Max_N = 1505;struct Point{ double x,y; ...
分类:
其他好文 时间:
2014-04-29 16:35:46
阅读次数:
499
Carmichael Numbers An important topic nowadays in
computer science is cryptography. Some people even think that cryptography is
the only important fi....
分类:
其他好文 时间:
2014-04-29 16:31:45
阅读次数:
504