今天是五四青年节,在此先祝大家节日快乐!!!--------------------------------------------华丽的分界线---------------------------------------------------
从使用ST开始,就觉得使用起来很顺手,在加上各种各....
分类:
其他好文 时间:
2014-05-10 02:15:07
阅读次数:
330
BFS。wa了一下午,原来是YES,写成了Yes。 1 #include 2 #include 3
#include 4 #include 5 using namespace std; 6 7 typedef struct node_st{ 8 int x,
y; 9 in...
分类:
其他好文 时间:
2014-05-06 08:48:16
阅读次数:
274
一般来说,最好能重用对象而不是在每次需要的时候都创建一个相同功能的新对象。如果对象是不可变的,他始终就是可以重用。这里我们举出一个字符串创建的例子说明:String
str = new String("new string");这里就是一个极为低效的方式,因为"new string"本身就是一个St...
分类:
其他好文 时间:
2014-05-06 00:53:57
阅读次数:
326
外部存储并不是一定可以访问的,例如外部存储挂载到电脑上是,或者是SD Card作为外部存储,被移除是,因此在访问外部存储时,一定要保证外部存储是可以获得的。判断外部存储是否已经挂载到了手机上可以这样判断:
//判断外部存储是否可以访问,并且可以读写
private boolean isExternalStorageWritable()
{
St...
分类:
移动开发 时间:
2014-05-05 13:27:55
阅读次数:
482
规则一:由于继承而发生样式冲突时,最近祖先获胜(最近原则)。CSS的继承机制使得元素可以从包含它的祖先元素中继承样式,考虑下面这种情况:rule 1
welcome to gaodayue的网络日志strong分别从body和p中继承了color属性,但是由于p在继承树上离strong更近,因此st...
分类:
Web程序 时间:
2014-05-05 10:16:46
阅读次数:
485
a ) 为此介绍一些常见的变换及其性质Laplace变换的定义为$$ \mathscr{L}
\{f(t)\}=\int_{0}^{\infty}f(t)e^{-st}dt$$Laplace反演变换公式为$$\mathscr{L}^{-1}F(s)=\int_{0}^{\infty}F(s)e^{s...
分类:
其他好文 时间:
2014-05-04 11:33:12
阅读次数:
412
//非递归遍历一棵树 需要借助栈
#include
#include
struct Tree
{
int nValue;
Tree *pLeft;
Tree *pRight;
};
struct Stack
{
Tree *root;
Stack *pNext;
};
Stack *pStack = NULL;
void push(Tree *root)
{
St...
分类:
其他好文 时间:
2014-05-03 20:55:41
阅读次数:
325
计算诸如-123,456,789 + 123,123的值
import java.math.BigInteger;
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner cin = new Scanner(System.in);
String st...
分类:
编程语言 时间:
2014-05-03 16:50:55
阅读次数:
307
AcknowledgmentsNotationsContentsIntroduction
3D from imagesOverview
Projective geometry
Projective geometry
The projective planeProjective 3-spaceTransformationsConics and quadrics
The st...
分类:
其他好文 时间:
2014-05-03 15:45:32
阅读次数:
584