HDU 1827 Summer Holiday
题目链接
题意:中文题
思路:强连通缩点,每个点的权值为强连通中最小值,然后入度为0的点就是答案
代码:
#include
#include
#include
#include
#include
using namespace std;
const int N = 1005;
const int INF = ...
分类:
其他好文 时间:
2014-10-19 23:21:42
阅读次数:
244
Currency Exchange
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 20482
Accepted: 7352
Description
Several currency exchange points are working in our city. ...
分类:
其他好文 时间:
2014-10-19 14:23:32
阅读次数:
364
Currency Exchange
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 20482
Accepted: 7352
Description
Several currency exchange points are working in our city...
分类:
其他好文 时间:
2014-10-19 14:21:07
阅读次数:
245
Problem Description
To see a World in a Grain of Sand
And a Heaven in a Wild Flower,
Hold Infinity in the palm of your hand
And Eternity in an hour.
—— William Blake
听说...
分类:
其他好文 时间:
2014-10-19 01:28:31
阅读次数:
326
Literals即为文字 一.Text literals:文本文字 文本文字只是字符串指定的单引号之间。他们可以包含任何字符,但你应避免任何单引号里面\ ' Now you are looking at a template file.如果是带空格什么的不连贯的一段话,例如working we...
分类:
其他好文 时间:
2014-10-16 19:13:03
阅读次数:
239
安装步骤:1.解压 memcached.exe 到任意目录,这里我解压到(E:\Working\PHPnow\memcached) PHPnow安装目录下面。在CMD命令下运行:"E:\Working\PHPnow\memcached\memcached.exe -d install"安装为系统服务...
分类:
Web程序 时间:
2014-10-16 01:26:51
阅读次数:
205
此文件在已经试验,成功解决问题来源:百度文库截图使用注意:路径为存放SVN的上传和下载的文件的目录,不是SVN安装路径
分类:
其他好文 时间:
2014-10-15 15:11:21
阅读次数:
170
提示:your working copy appears to be locked. run cleanup to amend the situation.产生这种情况大多是因为上次svn命令执行失败且被锁定了。如果cleanup没有效果的话只好手动删除锁定文件。cd 到svn项目目录下,然后执行如...
分类:
其他好文 时间:
2014-10-14 14:56:48
阅读次数:
198
今天早上到公司开了电脑,准备update下SVN的代码,但是在update时出现svn: E155004: Working copy 'E:\XX' locked 错误,乍眼一看以为是什么配置出错,但是他们update源码时正常。后来仔细一看错误原因,是因为有locked,然后估计是被锁定了,然后在...
分类:
其他好文 时间:
2014-10-13 17:50:39
阅读次数:
186
通过API(http://www.easybots.cn/holiday_api.net)获取返回信息写一个接收的反馈的函数IsHolidaypublic string IsHoliday(string date) { string url = @"http://...