1. 栈有2个基本操作:入栈、出栈2. 栈顶的元素总是最后入栈,最先出栈;后进先出。3. 8086CPU提供入栈和出栈的指令,最基本的两个是 PUSH(入栈) 和 POP(出栈) push ax 表示将AX寄存器的内容送入栈中, pop ax 表示从栈顶取出数据送入AX寄存器中。 8086CPU的....
分类:
其他好文 时间:
2014-08-06 22:24:12
阅读次数:
1276
public Test() throws RepletException { try { System.out.println("Test this Project!") } catch (Exception e) { throw new Exception(e...
分类:
其他好文 时间:
2014-08-06 21:46:32
阅读次数:
196
实例如下:public String getReportURL() throws Exception { String reportURL = parameterMap.get("showPageUrl").toString() + "showPageNum=1"; Iterator it = pa...
分类:
其他好文 时间:
2014-08-06 17:37:11
阅读次数:
180
Your intuition would tell you that there's a O(n) solution. Actually it is another stack-based problem to solve.class Solution {public: struct Rec ...
分类:
其他好文 时间:
2014-08-06 14:37:41
阅读次数:
186
问题1 org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to javax.websocket.server
严重: Servlet.service() for servlet [SpringMVC] in context with path [/ZHDM] threw exception [Request p...
分类:
编程语言 时间:
2014-08-06 11:59:01
阅读次数:
12178
最近做Excel导入
有两个方法:JXL 和POI
各有问题:JXL 导入:文件中有宏就报错,找不到解决方法。
POI导入:文件太大造成内存溢出。
先说问题 :Exception in thread "main" java.lang.IllegalStateException: Cannot get a text value from a numer...
分类:
其他好文 时间:
2014-08-06 11:54:20
阅读次数:
293
这个博客太简单了!想到可能有其他朋友也遇到这个问题,就记录一下。
今天把一个之前在Windows上的Java项目放到Mac OS X上运行,本来觉得应该很简单的事情,结果还是报:
Exception in thread “main” java.io.IOException: No such file or directory
at java.io.UnixFileSystem.c...
分类:
编程语言 时间:
2014-08-06 01:56:40
阅读次数:
240
不说别的,直接上模板。Dinic+当前弧优化:struct Edge{ int x,y,c,ne;}e[M*2];int be[N],all;int d[N],q[N];int stack[N],top;//栈存的是边int cur[N];//当前弧优化void add(int x, int ...
分类:
其他好文 时间:
2014-08-06 01:50:20
阅读次数:
330
2014-08-05 22:18:46.455 SwiftUI[1329:40871] -[_TtC7SwiftUI14MViewControler clickMe]: unrecognized selector sent to instance 0x10ea15dc02014-08-05 22:1...
分类:
移动开发 时间:
2014-08-06 01:26:00
阅读次数:
1261
草噢 先发泄一下 一个写错 TM地 找了我半小时多的错误 擦真SB。。。一把游戏时间。。。先放题目上来 touch me 这题 是上一题的简单版=-= 上一题掌握了 这题 很简单被这个 找错给折磨了 不想多讲了这个stack的写法 难想到 但是容易看懂 不清楚的 留言 给我 =-= 缺人互动...
分类:
其他好文 时间:
2014-08-06 01:22:50
阅读次数:
300