异常:编译正常,但运行出错,会中断正常指令流RuntimeException:运行时异常分为:uncheck exception、和check
exception(除了RuntimeException以及子类以外的)uncheck exceptionclass Test{ public sta...
分类:
编程语言 时间:
2014-05-26 23:44:34
阅读次数:
323
#includeusing namespace std;int begin[9][9];bool
check(int x,int y,int k){ for(int i=0;i>t; while(t--) { for(int
i=0;i>begin[i][j]; ...
分类:
其他好文 时间:
2014-05-26 21:05:25
阅读次数:
189
转载自:http://www.cnblogs.com/happyPawpaw/archive/2012/10/19/2730478.html1按钮组件(Button)(1)Button组件常用样式SWT.PUSH按钮SWT.CHECK多选按钮SWT.RADIO单选按钮SWT.ARROW箭头按钮SWT...
分类:
其他好文 时间:
2014-05-26 16:12:58
阅读次数:
334
记忆力不行,做过好多东西,下次用的时候还会忘记,于是就记录一些,为了以后更快的入手:1.marker的点击事件中获取marker的信息
在函数中this就代表当前的markerthis.getPosition()就获取到了marker的位置,不能用e.point 这个是点击的位置。
分类:
其他好文 时间:
2014-05-26 15:14:03
阅读次数:
195
原题地址:https://oj.leetcode.com/problems/symmetric-tree/题意:判断二叉树是否为对称的。Given
a binary tree, check whether it is a mirror of itself (ie, symmetric around ...
分类:
编程语言 时间:
2014-05-26 10:18:52
阅读次数:
293
What Is Your Grade?
Problem Description
“Point, point, life of student!”
This is a ballad(歌谣)well known in colleges, and you must care about your...
分类:
其他好文 时间:
2014-05-23 00:59:22
阅读次数:
375
格式:
mount -t cifs //IP/share-folder /mnt-point -o username=your-username,passwd=your-password
[root@client mnt]# mount -t cifs //192.168.230.1/f /mnt/share/ -o username=***,passwd=***
[root@clien...
题意:给你个矩阵,里面有n个标记的点,许多只青蛙在上面跳,每次跳的距离都是一样的且轨迹是直线,目标是从一边跳到另一边,求最多步数的青蛙
思路:排序后,枚举判断
#include
#include
#include
#include
using namespace std;
const int MAXN = 5050;
struct point{
int x,y;
void ini...
分类:
其他好文 时间:
2014-05-22 18:50:02
阅读次数:
255
建立ssh无验证连接
Check for SSH keys、
cd ~/.ssh
ls
Check the directory listing to see if you have a file named either id_rsa.pub or id_dsa.pub
检查有无产生过的key,一台机器只能创建一个。如果重新创建则前一个会被覆盖。
Generate a new SSH ...
分类:
其他好文 时间:
2014-05-22 18:33:48
阅读次数:
261
Given two binary trees, write a function to
check if they are equal or not.Two binary trees are considered equal if they are
structurally identical an...
分类:
其他好文 时间:
2014-05-22 16:46:03
阅读次数:
173