- 博客(18)
- 资源 (154)
- 收藏
- 关注
原创 UVA 题目409 - Excuses, Excuses!
Excuses, Excuses! Judge Ito is having a problem with people subpoenaed for jury duty giving rather lame excuses in order to avoid serving. In order to reduce the amount of time required
2013-04-29 14:13:22 3391 1
原创 EXTJs 表单控件
TextField 文本输入控件 Ext Buttons Ext.onReady(function(){ //Ext.form.TextField var textField = new Ext.form.TextField( { fieldLabel:'用户名', allowBla
2013-04-29 01:29:25 7893 1
原创 UVA 537 Artificial Intelligence?
Artificial Intelligence? Physics teachers in high school often think that problems given as text are more demanding than pure computations. After all, the pupils have to read and understan
2013-04-28 19:39:43 3274
原创 EXTJs 树的实现
Ext.onReady(function() { //树形结构 //创建一棵树: var tree = new Ext.tree.TreePanel( {el:'tree'}//表示渲染的DOM的id.界面中有相对应最后这棵树就出现在这个div位置上 ); //创建根节点: var root = new Ext.tree.TreeNo
2013-04-28 16:44:50 8701
原创 EXTJs 表格分页
为表格添加分页工具条 Ext Buttons Ext.onReady(function(){ var sm = new Ext.grid.CheckboxSelectionModel(); var cm = new Ext.grid.ColumnModel([ new Ext.grid.RowNumbe
2013-04-26 16:44:07 4140
原创 UVA 题目10361 - Automatic Poetry
Problem IAutomatic PoetryInput: standard inputOutput: standard outputTime Limit: 2 secondsMemory Limit: 32 MB “Oh God”, Lara Croft exclaims, “it’s one of these dumb riddles again!”
2013-04-26 14:40:27 2296
原创 ExtJs 表格的实现
Ext Buttons Ext.onReady(function(){ var sm = new Ext.grid.CheckboxSelectionModel(); var cm = new Ext.grid.ColumnModel([ new Ext.grid.RowNumberer(),//自动显示行号 sm,//复
2013-04-26 11:20:42 11404
原创 UVA 题目10010 - Where's Waldorf?
Where's Waldorf? Given a m by n grid of letters, ( ), and a list of words, find the location in the grid at which the word can be found. A word matches a straight, uninterrupted line o
2013-04-23 09:59:45 3604
原创 UVA 题目401 - Palindromes
A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA" is a palindrome because it is the same when the string is read from lef
2013-04-22 15:18:30 4583
原创 UVA 题目11300 - Spreading the Wealth
ProblemA Communist regime is trying to redistribute wealth in a village. They have have decided to sit everyone around a circular table. First, everyone has converted all of their properties to coin
2013-04-21 19:45:32 3672
转载 Spket的配置和安装
myeclipse下使用ext的插件有三种方式:1:配置在线使用:打开myeclipse:1、选择Help -> Software Updates -> Find and Install...-> Search for new features to install ->New remote site...Name: "Spket", Url: "http://www.
2013-04-21 10:17:17 1831
原创 UVA 题目11729 - Commando War
There is a war and it doesn't look very promising for your country. Now it's time to act. You have a commando squad at your disposal and planning an ambush on an important enemy camp located nearby. Y
2013-04-20 08:07:09 2736
原创 UVA 题目11292 Dragon of Loowater
Problem C: The Dragon of LoowaterOnce upon a time, in the Kingdom of Loowater, a minor nuisance turned into a major problem.The shores of Rellau Creek in central Loowater had always been a prime b
2013-04-19 09:03:57 2537
转载 Java 常见错误
Exception in thread "main" java.lang.NoClassDefFoundError: javax/persistence/EntityListeners at org.hibernate.cfg.annotations.reflection.JPAMetadataProvider.getDefaults(JPAMetadataProvider.java:96)
2013-04-18 21:13:42 1731
转载 Mysql常用命令行大全
第一招、mysql服务的启动和停止net stop mysqlnet start mysql第二招、登陆mysql语法如下: mysql -u用户名 -p用户密码键入命令mysql -uroot -p, 回车后提示你输入密码,输入12345,然后回车即可进入到mysql中了,mysql的提示符是:mysql>注意,如果是连接到另外的机器上,则需要加入一个参数-h机器IP
2013-04-18 19:52:46 1104
转载 Mysql net start mysql启动,提示发生系统错误 5
为什么会出现这个问题呢?经过一番思考找到原因了,是因为当前用户的操作权限太低了,出了问题出错问题截屏如下:解决问题方法如下:在dos下运行net start mysql 不能启动mysql!提示发生系统错误 5;拒绝访问!切换到管理员模式就可以启动了。所以我们要以管理员身份来运行cmd程序来启动mysql。那么如何用管理员身份来运行cmd程序呢
2013-04-18 19:28:11 2926
转载 myeclipse 编辑JS很慢的解决办法
myeclipse 速度慢,一般通过将验证去掉就解决了。将 myeclipse 中的 验证区的全部去掉,java文件的保存操作,速度很快。可是jsp文件的操作却一直很慢。总是在building workspace,但是打开进度信息,发现在验证/webroot/js ,可明明已经在验证区将 javascript 验证去掉了,为什么还是出现这个问题?通过网上搜索,终于找到了解决办法。如下:
2013-04-18 16:13:18 7035 1
原创 题目1159: 单词替换
题目描述输入一个字符串,以回车结束(字符串长度 输入多组数据。每组数据输入包括3行,第1行是包含多个单词的字符串 s,第2行是待替换的单词a,(长度第3行是a将被替换的单词b。(长度s, a, b 最前面和最后面都没有空格。 输出每个测试数据输出只有 1 行,
2013-04-05 22:44:34 3464
hadoop-2.6.0-src NativeIO.java
2015-10-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人