题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5135题目大意:给你n条边,选出若干条边,组成若干个三角形,使得面积和最大。输出最大的面积和。先将边从小到大排序,这样前面的两条边加起来如果不大于第三条边就可以跳出,这是一个存在性条件。dfs(int i...
分类:
其他好文 时间:
2014-12-04 00:51:19
阅读次数:
164
Description:
Little Joey invented a scrabble machine that he called Euler, after the great mathematician. In his primary school Joey heard about the nice story of how Euler started the study ab...
分类:
其他好文 时间:
2014-12-03 21:25:03
阅读次数:
165
createtable`sq`(
`id`int,
`user_id`varchar(45),
`userid_seq`varchar(45)
);
insertinto`sq`(`id`,`user_id`,`userid_seq`)values(‘1‘,‘zhang‘,NULL);
insertinto`sq`(`id`,`user_id`,`userid_seq`)values(‘2‘,‘wang‘,NULL);
insertinto`sq`(`id`,`user_id`,`userid_seq`..
分类:
数据库 时间:
2014-12-03 19:37:14
阅读次数:
253
点击打开题目
Seek the Name, Seek the Fame
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 12651
Accepted: 6214
Description
The little cat is so famous, th...
分类:
其他好文 时间:
2014-11-30 07:06:59
阅读次数:
146
In this post I‘m going to explore customizing Emacs to make hacking on Go a little more fluid. This is a living document and will probably be updated as I discover new modes and tools. The Emacs mo...
分类:
系统相关 时间:
2014-11-29 20:22:42
阅读次数:
204
Don't just accumulate knowledge, apply it.You will never really know or understand something until you use it. Make little demo programs that use the ...
分类:
其他好文 时间:
2014-11-29 17:14:37
阅读次数:
141
系统环境centos6.5[root@jingjunwang]#uname-r2.6.32-431.el6.i686正式添加帐号:[root@jingjun/]#useraddwang#添加用户wang[root@jingjun/]#tail-l/etc/passwd#用tail命令查看passwd文件,-l显示倒数10行[root@jingjun/]#tail-l/etc/shadow#查看shadow密码文件"!!"代表还未设置..
分类:
系统相关 时间:
2014-11-28 18:27:35
阅读次数:
163
Endian.BIG_ENDIAN和Endian.LITTLE_ENDIAN在ByteArray和Socket中,能看到一个属性endain.endian : String更改或读取数据的字节顺序;Endian.BIG_ENDIAN 或 Endian.LITTLE_ENDIAN。 谈到字节序的问题,...
分类:
Web程序 时间:
2014-11-27 14:26:44
阅读次数:
157
Apple Catching
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 8062
Accepted: 3951
Description
It is a little known fact that cows love apples. Farmer John h...
分类:
移动开发 时间:
2014-11-25 18:40:29
阅读次数:
262
中國智能手機得競爭已然白熱化,而且市場走到了一個關鍵節點门禁读卡器。little princess 今年10月份,知名分析機構IDC給出2014年Q3全球智能手機市場報告,報告指出:小米約1800萬臺出貨量成為全球第三大智能手機廠商,占全球市場份額5.3%。同時,小米Q2以12%的市場份額成為中.....
分类:
其他好文 时间:
2014-11-25 15:55:10
阅读次数:
207