using System;using System.Collections.Generic;using System.Linq;using System.Text;//静态类用static标记//静态类的成员必须都是静态的//静态类是密封的,不可继承namespace StaticClass{ p....
分类:
其他好文 时间:
2015-09-09 11:22:59
阅读次数:
116
问题 1 : SVN 能更新,但是不能 commit 。解决方案:将项目名从小写改成大写。原因分析:服务器是 Windows 系统,读数据时不区分大小写,写数据时区分(比较慎重)。-》服务器用的是Win2003操作系统。问题 2 : commit 时报错:Html代码 Merge conflict ...
分类:
其他好文 时间:
2015-09-09 11:21:49
阅读次数:
178
grant select on yizhen123.tpp_t_dz_liandong to wangyd;grant select on yizhen123.tpp_t_dz_yilian to wangyd;grant select on yizhen123.tpp_t_dz_yinglian ...
分类:
数据库 时间:
2015-09-09 11:21:38
阅读次数:
200
http://blog.csdn.net/mashengwang/article/details/5982663CREATE OR REPLACE DIRECTORY my_docs AS '/u01/app/oracle/';SET SERVEROUTPUT ON SIZE 1000000@c:/...
分类:
数据库 时间:
2015-09-09 11:20:30
阅读次数:
370
J2SE 提供的最后一个批注是 @SuppressWarnings。该批注的作用是给编译器一条指令,告诉它对被批注的代码元素内部的某些警告保持静默。 @SuppressWarnings 批注允许您选择性地取消特定代码段(即,类或方法)中的警告。其中的想法是当您看到警告时,您将调查它,如果您确定它不是...
分类:
其他好文 时间:
2015-09-09 11:21:10
阅读次数:
146
IDE Settings[Theme]->选择Darcula,暗色调看着比较舒服;[Appearance]->勾选 [Override default fonts by] -> 微软雅黑,12;[Editor]->Colors & Fonts 首先设置 Scheme name,这里先要 save 一...
分类:
其他好文 时间:
2015-09-09 11:22:23
阅读次数:
438
呜呜呜~要感动cry了,提交了AC解答后,beats 100% of java submissions!!第一次感受到coding和algorithm带给人的愉悦感,加油加油啊~Quesion:Given a sorted integer array without duplicates, retu...
分类:
其他好文 时间:
2015-09-09 11:20:41
阅读次数:
119
解决安装低版本flash player的终极方案。
分类:
其他好文 时间:
2015-09-09 11:20:25
阅读次数:
270
Problem:Implementint sqrt(int x).Compute and return the square root ofx.Conclusion for Binary Search Problem:Binary search is such an elegant way of s...
分类:
其他好文 时间:
2015-09-09 11:21:36
阅读次数:
138
java.io.IOException: Malformed \uxxxx encoding. at com.dong.frame.util.ReadProperties.read(ReadProperties.java:60)读取配置文件报异常。原因如下:我的配置文件config_file.pro...
分类:
编程语言 时间:
2015-09-09 11:20:34
阅读次数:
178
一般我们通过box-shadow来设置盒阴影,但是有些属性我们一般没有用到,这篇文章将对box-shadow属性进行逐个分析。语法CSS Code复制内容到剪贴板E {box-shadow:inset x-offset y-offset blur-radius spread-radius color...
分类:
Web程序 时间:
2015-09-09 11:20:16
阅读次数:
156
Distinct SubsequencesTotal Accepted:38466Total Submissions:143567My SubmissionsQuestionSolutionGiven a stringSand a stringT, count the number of disti...
分类:
其他好文 时间:
2015-09-09 11:21:48
阅读次数:
214
普通的队列是一种先进先出的数据结构,元素在队列尾追加,而从队列头删除。在优先队列中,元素被赋予优先级。当访问元素时,具有最高优先级的元素最先删除。优先队列具有最高级先出 (largest-in,first-out)的行为特征。STL中使用heap实现优先队列,底层容器使用的是vector。这里我.....
分类:
编程语言 时间:
2015-09-09 11:21:17
阅读次数:
286
#define DoTrace//这里定义了标注符号,注释掉该行,那么标注有 [Conditional("DoTrace")]特性的方法将不执行using System;using System.Diagnostics;namespace ExofConditional{ class Progra....
分类:
其他好文 时间:
2015-09-09 11:19:17
阅读次数:
127
1.表结构语法create table test_5( id int not null auto_increment comment '自增长流水号', primary key (id), user_name varchar(40) default 'wang' comment '用户名', ...
分类:
数据库 时间:
2015-09-09 11:18:59
阅读次数:
129
using System;using System.Collections.Generic;using System.Linq;using System.Text;/** 扩展方法允许编写和声明它的类之外的类关联的方法* 1、扩展方法必须声明为static* 2、扩展方法声明所在的类也必须声明为st...
目前大多数使用的寻路算法有哪些?目前市面上大部分游戏的寻路算法是A*,或者B*。A*通常所说的是最优算法也就是寻找最短路径。B*碰撞式算法也就是,也就是不断的去碰撞能走就走,不管是不是绕路。当然以上都是我的理解。我这里只描述一下A*算法的一部分。通常A*算法分为四方向和八方向计算。现目前的游戏方式来...
分类:
其他好文 时间:
2015-09-09 11:19:01
阅读次数:
148