二分二分二分。。记录二分的点。1600多MS,应该 可以再优化#include #include #include #include using namespace std;int stack[150],sp;int n,M;struct Matrax { int m[35][35];};Matra...
分类:
其他好文 时间:
2014-08-30 17:36:09
阅读次数:
172
思路:这题刚开始一看没太懂,然后想想原来是裸的最大费用最大流,建图后搞下就行了。
不过题目说是用二分匹配来做,因为自己二分匹配的那个带权匹配不会,所以直接用最小费用最大流来做了,反正都一样能求。
#pragma comment(linker, "/STACK:1024000000,1024000000")
#include
#include
#include
#include
#include...
分类:
其他好文 时间:
2014-08-30 13:54:59
阅读次数:
163
在布局添加控件手动添加还是拖的添加,添加edittext后布局就不好用,其他控件好用,然后就说下面这段话Exception raised during rendering: java.lang.System.arraycopy([CI[CII)VException details are logge...
分类:
移动开发 时间:
2014-08-30 12:30:39
阅读次数:
147
Junit&Jmock简介序言 21. 环境配置 22.一种比较好的命名方式 33. JUnit使用入门 43.1一种简单的实现 43.2添加初始化和销毁方法的实现 53.3对Java异常(Exception)的单元测试 83.4 Assert类 93.5小结 124.Jmock使用入门 124.1...
分类:
其他好文 时间:
2014-08-30 01:14:28
阅读次数:
500
CompileSwift normal x86_64 com.apple.xcode.tools.swift.compiler cd /Users/Rubert/workspaces/Panda export PATH="/Applications/Xcode6-Beta2.app/Conten.....
分类:
移动开发 时间:
2014-08-29 22:36:08
阅读次数:
621
How-To send or update registrations. The eXtented eXosip stack Initiate a registration To start a registration, you need to build a default REGISTER r...
分类:
其他好文 时间:
2014-08-29 19:42:48
阅读次数:
232
运行java应用程序 #bash LauncherJavaMainClass.sh
Could not synchronize with target
查看错误java命令启动时定向到的stderr日志: Error: Exception thrown by the agent : java.net.MalformedURLException:...
分类:
其他好文 时间:
2014-08-29 18:37:38
阅读次数:
231
配置Spring4 + Hibernate4遇到的问题: Messages:No Session found for current threadFile:org/springframework/orm/hibernate4/SpringSessionContext.javaLine number....
分类:
其他好文 时间:
2014-08-29 18:10:58
阅读次数:
342
Modules Here is a list of all modules: [detail level 12] The eXtented eXosip stack LibeXosip2 Version 4.0.0 How-To initialize libeXosip2. How-To initi...
分类:
其他好文 时间:
2014-08-29 17:57:48
阅读次数:
276
//转自http://www.oschina.net/code/snippet_136241_3980 1 procedure CheckResult(b: Boolean); 2 begin 3 if not b then 4 raise Exception.Create(SysErr...
分类:
其他好文 时间:
2014-08-29 17:33:48
阅读次数:
225