码迷,mamicode.com
首页 >  
搜索关键字:closed    ( 3269个结果
UVA - 11898 Killer Problem
Description  Killer Problem  You are given an array of N integers and Q queries. Each query is a closed interval [l, r]. You should find the minimum absolute difference betw...
分类:其他好文   时间:2014-08-11 12:01:22    阅读次数:213
设计模式--6大原则--开闭原则
开闭原则(Open Closed Principle) 开闭原则的核心是:对扩展开放,对修改关闭 白话意思就是我们改变一个软件时(比如扩展其他功能),应该通过扩展的方式来达到软件的改变,而不应爱修改原有代码来实现变化   开闭原则算是前5中原则的一个抽象总结,前五种是开闭原则的一些具体实现,所以如果使用开闭原则,其实有点虚,因为它没有一个固定的模式,但是最终保证的是提高程序...
分类:其他好文   时间:2014-08-09 11:40:18    阅读次数:270
POJ 3287 (基础BFS) Catch That Cow
这是做的第一道BFS,很基础很简单的题目广度优先搜索算法如下:(用QUEUE)(1) 把初始节点S0放入Open表中;(2) 如果Open表为空,则问题无解,失败退出;(3) 把Open表的第一个节点取出放入Closed表,并记该节点为n;(4) 考察节点n是否为目标节点。若是,则得到问题的解,成功...
分类:其他好文   时间:2014-08-09 02:32:26    阅读次数:307
poj 2007 Scrambled Polygon(极角排序)
http://poj.org/problem?id=2007Time Limit:1000MSMemory Limit:30000KTotal Submissions:6701Accepted:3185DescriptionA closed polygon is a figure bounded b...
分类:其他好文   时间:2014-08-08 17:23:56    阅读次数:215
ORA-27102: out of memory报错的处理
问题描述: 原先SGA 4G,PGA 2G。 alter system set sga_max_size=30G scope=spfile; alter system set sga_target=30G scope=spfile; 之后, SQL> shutdown immediate Database closed. Database dismounted. ORACLE in...
分类:其他好文   时间:2014-08-08 16:13:26    阅读次数:266
查看网络连接timewait问题
通过ss -s 命令,可以看到服务器的timewait状态特别多。[root@tvreport231 ~]# ss -s Total: 103 (kernel 256) TCP: 48666 (estab 22, closed 48624, orphaned 7, synrecv 0, timewait 48623/0), ports 18 netstat也是可以看到的,但是需要添加 -a参数...
分类:其他好文   时间:2014-08-07 23:07:35    阅读次数:268
CubieTech Will Promote A80 Highperformance Mini PC
(These are 3D simulation pictures of CC-A80. These are not real photoes!!!) We have always had a dream to spread the open source Linux system to millions of households. Closed Apple system and Wind...
分类:其他好文   时间:2014-08-07 19:28:40    阅读次数:357
New Hire Training Experience
Game Description: 1. In a closed door, there will be a circle, and 30 numbers in the circle. 2. Each team (about 10 people) need to take number out of the circle by ascend order. 3. Each team has...
分类:其他好文   时间:2014-08-06 19:06:02    阅读次数:359
Architecture.SOLID Principles
1. Single Responsibilityhttp://en.wikipedia.org/wiki/Single_responsibility_principle (ToRead)2. Open/Closedhttp://en.wikipedia.org/wiki/Open/closed_pr...
分类:其他好文   时间:2014-08-03 23:07:06    阅读次数:216
finish/onDestroy/System.exit()的区别
Activity.finish():Call this when your activity is done and should be closed. 在你的activity动作完成的时候,或者Activity需要关闭的时候,调用此方法。 当你调用此方法的时候,系统只是将最上面的Acti...
分类:其他好文   时间:2014-07-29 21:12:32    阅读次数:214
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!