码迷,mamicode.com
首页 > 其他好文
poj 2456 最小值最大化
http://poj.org/problem?id=2456 Description Farmer John has built a new long barn, with N (2 His C (2 <= C <= N) cows don't like this barn layout and become aggressive towards each other once...
分类:其他好文   时间:2015-04-13 09:30:17    阅读次数:190
[DeploymentService:290066]Error occurred while downloading files from admin server for deployment re
上周部署项目到weblogic时候,一直报消息图标 - 错误 [DeploymentService:290066]Error occurred while downloading files from admin server for deployment request “1,428,631,595,356”. Underlying error is: “null”。具体截图如下:...
分类:其他好文   时间:2015-04-13 09:31:42    阅读次数:6380
LeetCode Gray Code
The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total number of bits in the code, print the sequence of ...
分类:其他好文   时间:2015-04-13 09:30:41    阅读次数:102
解决vs中 CRT_SECURE_NO_WARNINGS 警告
解决 CRT_SECURE_NO_WARNINGS 右击工程 属性 - 配置属性 - C/C++ - 命令行 命令行增加 /D _CRT_SECURE_NO_WARNINGS...
分类:其他好文   时间:2015-04-13 09:30:57    阅读次数:134
MINA 实现聊天功能
原文同步至 http://www.waylau.com/mina-chat/在《MINA 快速入门》一文中,我们介绍了如何利用 MINA 快速构建一个 Time Server(时间服务器)。在《Netty 实现聊天功能》一文,我们也介绍了如何用 Netty 实现聊天功能。由于 MINA 和 Netty 是同一个作者,架构类似,如果你掌握其中一个,学习另外一个也不是难事。现在我们就用 MINA 来实现...
分类:其他好文   时间:2015-04-13 09:30:31    阅读次数:137
oc 文件操作,查看目录下所有文件包括子文件夹内包含的所有文件,循环遍历递归
oc 文件操作,查看目录下所有文件包括子文件夹内包含的所有文件,循环遍历递归 FileManager.m #import "FileManager.h" @implementation FileManager + (void)showFiles:(NSString *)path;{     // 1.判断文件还是目录     NSFi...
分类:其他好文   时间:2015-04-13 09:29:49    阅读次数:126
Search in Rotated Sorted Array
public class Solution { public int search(int[] A, int target) { if(A==null || A.length==0) return -1; int l = 0; i...
分类:其他好文   时间:2015-04-13 09:27:59    阅读次数:104
HK游记 Day2迪斯尼(下)
接下来我们要去看狮子王庆典,绕啊绕啊,终于进场了,说实话我对一大帮人扮演动物歌舞表演不是很感冒,静倒是觉得很好看,印象最深的是狮子王的主题曲,还有大象车,长颈鹿车,狮子王车,静举着手机拍视频。看完表演静发现手机好烫,而且充不进去电,静又生气了。坐了一会儿,我们去冒险世界的灰熊山谷,排队上了灰熊矿车,...
分类:其他好文   时间:2015-04-13 09:25:23    阅读次数:134
LeetCode: Letter Combinations of a Phone Number
Title:Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the te...
分类:其他好文   时间:2015-04-13 09:24:58    阅读次数:142
LeetCode: Remove Nth Node From End of List
Title:Given a linked list, remove thenthnode from the end of list and return its head.For example, Given linked list: 1->2->3->4->5, and n = 2. Af...
分类:其他好文   时间:2015-04-13 09:27:27    阅读次数:88
Codeforces Round #298 (Div. 2) A、B、C题
题目链接:Codeforces Round #298 (Div. 2)A. ExamAn exam fornstudents will take place in a long and narrow room, so the students will sit in a line in some o...
分类:其他好文   时间:2015-04-13 09:25:37    阅读次数:157
十个最值得阅读学习的C开源项目代码
http://news.cnblogs.com/n/507041//平凡之路 1. Webbench Webbench 是一个在 linux 下使用的非常简单的网站压测工具。它使用 fork ()模拟多个客户端同时访问我们设定的 URL,测试网站在压力下工作的性能,最多可以模拟 3 万个并发连接.....
分类:其他好文   时间:2015-04-13 09:25:12    阅读次数:110
172. Factorial Trailing Zeroes
Given an integern, return the number of trailing zeroes inn!.Note:Your solution should be in logarithmic time complexity.cracking interview原题,2*5可以构成一...
分类:其他好文   时间:2015-04-13 09:25:10    阅读次数:111
sessionStorage、localStorage、cookie
sessionStorage 和 localStorage 是HTML5 WebStorage API 提供的,可以方便的在web请求之间保存数据。有了本地数据,就可以避免数据在浏览器和服务器间不必要地来回传递。 sessionStorage、localStorage、cookie都是在浏览器端存....
分类:其他好文   时间:2015-04-13 09:24:30    阅读次数:113
未来教育孩子注意事项
我曾经犯过的错,希望我的孩子不要再犯!我曾经痛苦的经历,希望我的孩子不要再经历!1. 你所做的就是孩子所学的,用行动去教育孩子。2. 永远不要在家里发火,永远!3. 培养孩子一技之长,但不希望报很多培训班。希望他有个快乐的童年。4. 鼓励孩子多与异性接触,从小培养交际能力。5. 青春期教育,性知识。...
分类:其他好文   时间:2015-04-13 09:23:51    阅读次数:113
169. Majority Element
Given an array of sizen, find the majority element. The majority element is the element that appears more than? n/2 ?times.You may assume that the arr...
分类:其他好文   时间:2015-04-13 09:23:09    阅读次数:109
System.Threading.Tasks.Task引起的IIS应用程序池崩溃
问题现象IIS应用程序池崩溃(Crash)的特征如下:1. 从客户端看,浏览器一直处于连接状态,Web服务器无响应。2. 从服务器端看(Windows Server 2008 + IIS 7.0),在事件日志中会出现Event ID为5010的错误:A process serving applica...
分类:其他好文   时间:2015-04-13 09:21:44    阅读次数:129
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!