集训第一场 B题dfs简单题 做完这题就撤,回来再继续做吧= = 水手加油~ 1 #include 2 #include 3 4 int Count; 5 int to[4][2] = {{-1,0},{1,0},{0,1},{0,-1}}; 6 int row,col; 7 char room[....
分类:
其他好文 时间:
2014-07-19 21:04:34
阅读次数:
172
集训第一场,A题dfs简单题之前看过dfs,没实现过,第一次实现出来O(∩_∩)O~水手加油~ 1 #include 2 #include 3 using namespace std; 4 int row,col; 5 char oil[1000][1000]; 6 int to[8][2]={{-...
分类:
其他好文 时间:
2014-07-19 20:26:21
阅读次数:
190
在ext grid 中如何确定选中行?如何获取选中行数据?其实很简单,用到了Ext.getCmp('id'),他可以获取到指定id的对象。grid 获取行对象:var row = Ext.getCmp("Grid_ID").getSelectionModel().getSelections();ro...
分类:
其他好文 时间:
2014-07-18 20:30:01
阅读次数:
150
问题:display:设置成blockie下正常,火狐和谷歌不正常原因:在firefox中,表格的display是:table-row,ie6不支持table-row,所以必须在你的代码中进行浏览器判断解决:var vCss = (document.all ? "block" : "table-ro...
分类:
其他好文 时间:
2014-07-17 18:09:08
阅读次数:
187
[MSSQL] Row Merge, ?? Row ???- ???? Row? ? ???? ? ??? ?? ??? ??? ??1. ????view plaincopy to clipboardprint?CREATETABLE#TEMP1(CodeINT,VALUEVARCHAR(100)...
分类:
其他好文 时间:
2014-07-17 14:27:42
阅读次数:
280
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:
其他好文 时间:
2014-07-17 14:03:41
阅读次数:
293
分类目录 {dede:channel type='top' row='8' currentstyle="~typename~ "} [field:typename/] ([field:id runphp='yes']global $dsql;$sql='SE...
分类:
其他好文 时间:
2014-07-16 18:42:47
阅读次数:
206
if (e.Row.RowType == DataControlRowType.DataRow)e.Row.RowType 是指当前行的类型 DataControlRowType 是GridView的行的类型集合 , 其中的DataRow是数据绑定行 这个判断语句的意思就是判断当前行是不是数据绑定行...
分类:
其他好文 时间:
2014-07-16 18:02:17
阅读次数:
181
1、查select row from table;select * from table;2、利用where子句查select row from table where a(=、、>、=、<=、between、like)b;select row from table where A AND B;se...
分类:
数据库 时间:
2014-07-16 17:50:45
阅读次数:
293
1e.Row.RowType == DataControlRowType.DataRow的意思e.Row.RowType 是指当前行的类型DataControlRowType 是GridView的行的类型集合 其中的DataRow是数据绑定行这个判断语句的意思就是判断当前行是不是数据绑定行2这个.....
分类:
其他好文 时间:
2014-07-16 17:50:06
阅读次数:
211