Link:http://oj.leetcode.com/problems/reverse-nodes-in-k-group/Given a linked
list, reverse the nodes of a linked listkat a time and return its modifie...
分类:
其他好文 时间:
2014-05-05 22:46:42
阅读次数:
456
用xcode来开发cocos2dx,结果发现一个很纠结的问题,如果我一旦修改了一个Lua文件,我必须clean之后再build,否则修改的Lua文件不会体现出来。这是一个很令纠结的结果,特别是我要进行调试的时候,在网上搜索了一圈,发现xcode原来可以提供一个build phase的功能,允许在build中间执行一些脚本,而这个时候只要将脚本文件touch一下就可以解决问题,但是比较奇怪的是,如果...
分类:
其他好文 时间:
2014-05-05 13:16:20
阅读次数:
394
可以通过数据字典查找type group:ICON,通过ICON
NAME寻找对应的ID列,可以用程序RSTXICON来查看SAP中所有图标和代码的对应关系列表,每个图标都有一个两位长度的代码进行标识,在字符前面加‘@’符号表示对该图标的进行引用。
分类:
其他好文 时间:
2014-05-05 12:49:50
阅读次数:
247
DescriptionIn the game of DotA, Pudge’s meat
hook is actually the most horrible thing for most of the heroes. The hook is
made up of several consecuti...
分类:
其他好文 时间:
2014-05-05 11:32:29
阅读次数:
288
题目:Given an array of strings, return all groups of
strings that are anagrams.Note: All inputs will be in lower-case.class Solution
{public: vector ...
分类:
其他好文 时间:
2014-05-04 20:48:08
阅读次数:
608
oracle group by rollup decode grouping nvl等判断或者小计合计心得...
分类:
数据库 时间:
2014-05-04 09:47:18
阅读次数:
990
使用工具:
FineReport报表设计器,Access数据库
需求描述:
有两张表,订单表和订单明细表
1、订单表结构:
2、订单明细表结构:
目的:根据这两张表做出下面的一张表
分析:
1、因为在订单明细里订单ID可能出现多次,所以一定要先把订单ID去重,否则两张表join的时候,订单ID就会有重复的,这时用count函数求订单数量时就会出错了
所以先...
分类:
数据库 时间:
2014-05-04 09:26:59
阅读次数:
999
做web项目时,经常会遇到修改了代码,但浏览器端没有生效,原因是多种多样的,我会根据我遇到的情况逐步更新解决办法
1.运行的时候采用debug模式,一般情况下使用项目部署按钮右边那个按钮下的tomcat7中的run就行,如果使用的是serves中的run serves,这种情况貌似不会自动编译
2.点击project菜单下的clean选项,在打开的窗口中选择你使用的项目,ok,这样会删...
分类:
Web程序 时间:
2014-05-04 08:52:42
阅读次数:
302
1、能用DISTINCT的就不用GROUP BY
SELECT OrderID FROM Details WHERE UnitPrice > 10 GROUP BY OrderID
可改为: SELECT DISTINCT OrderID FROM Details WHERE UnitPrice > 10
2.能用UNION ALL就不要用UNION
UNION A...
分类:
数据库 时间:
2014-05-03 21:31:24
阅读次数:
342
【题目】
Problem C
CALCULATOR CONUNDRUM
Alice got a hold of an old calculator that can display n digits. She was bored enough to come up with the following time waster.
She enters a number k t...
分类:
其他好文 时间:
2014-05-03 15:37:03
阅读次数:
308