码迷,mamicode.com
首页 >  
搜索关键字:smtp time out    ( 90216个结果
java中获取路径的几种方式
总是忘记, 备份一下,方便下次用.第一种:File directory = new File("");//参数为空String courseFile = directory.getCanonicalPath() ;System.out.println(courseFile);结果:C:\Docume...
分类:编程语言   时间:2014-05-08 12:43:50    阅读次数:343
亲戚
亲戚Time Limit:1000MSMemory Limit:65535KBSubmissions:214Accepted:82Description若某个家族人员过于庞大,要判断两个是否是亲戚,确实还很不容易,现在给出某个亲戚关系图,求任意给出的两个人是否具有亲戚关系。 规定:x和y是亲戚,y和...
分类:其他好文   时间:2014-05-08 11:21:14    阅读次数:307
杭电acm2030--汉字统计
汉字统计Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 22508Accepted Submission(s): 12255Problem Desc...
分类:其他好文   时间:2014-05-08 10:04:00    阅读次数:306
poj 2104:K-th Number(划分树,经典题)
K-th NumberTime Limit:20000MSMemory Limit:65536KTotal Submissions:35653Accepted:11382Case Time Limit:2000MSDescriptionYou are working for Macrohard co...
分类:其他好文   时间:2014-05-08 05:24:50    阅读次数:387
wust-1299-结点选择(树形DP)
Problem Description 有一棵 n 个节点的树,树上每个节点都有一个正整数权值。如果一个点被选择了,那么在树上和它相邻的点都不能被选择。求选出的点的权值和最大是多少? Input 第一行包含一个整数 n 。 接下来的一行包含 n 个正整数,第 i 个正整数代表点 i 的权值。 接下来一共 n-1 行,每行描述树上的一条边。 Out...
分类:其他好文   时间:2014-05-08 04:55:03    阅读次数:282
[思维+容斥原理] hdu 2841 Visible Trees
题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=2841 Visible Trees Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1337    Accepted S...
分类:其他好文   时间:2014-05-08 04:45:47    阅读次数:375
Android4.2.2自增物理按键(frameworks)
当我们修改了frameworks后可能出现: make: *** [out/target/common/obj/PACKAGING/checkapi-current-timestamp] 错误 38 解决办法:make update-api 在Android中添加物理按键:KEYCODE_HELP 1、Android 增加按键: ScanCode -> KeyCodeLabel ...
分类:移动开发   时间:2014-05-08 04:43:52    阅读次数:468
[计算几何] zoj 3728 Collision
题目链接: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3728 题目意思: 给一个以原点(0,0)为圆 Collision Time Limit: 2 Seconds      Memory Limit: 65536 KB      Special Judge There's a r...
分类:其他好文   时间:2014-05-08 03:55:33    阅读次数:417
ZOJ3640之简单慨率DP
Help Me Escape Time Limit: 2 Seconds      Memory Limit: 32768 KB Background     If thou doest well, shalt thou not be accepted? and if thou doest not well, sin lieth at the door. And unto the...
分类:其他好文   时间:2014-05-08 01:37:02    阅读次数:353
java实现——004替换空格
1.创建新的字符串 1 public class T004 { 2 public static void main(String[] args){ 3 System.out.println(replaceBlank("we are happy")); 4 } 5 ...
分类:编程语言   时间:2014-05-08 01:08:18    阅读次数:364
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!