uva 11137 Ingenuous CubrencyPeople in Cubeland use cubic coins. Not only the unit of currency is called a cube but also the coins are shaped like cubes and their values are cubes. Coins with values of...
分类:
其他好文 时间:
2015-04-13 23:04:26
阅读次数:
155
题意 :求一块区域内有多少油田简单dfs#includeusing namespace std;char map[102][102];int use[102][102];int m,n;int dir[8][2]={{1,0},{-1,0},{0,1},{0,-1},{1,1},{1,-1},{-1...
分类:
其他好文 时间:
2015-04-13 22:37:49
阅读次数:
134
一netuse作用Netuse将计算机与网络其他计算机共享资源连接或断开,或者显示关于计算机共享连接的信息。一般的我们从网络路径拷贝文件到本地,或从本地拷贝文件到一个网络路径,但是如果一个网络路径太长的话,有的时候会有问题,这个时候的解决办法就是先把网络路径映射为本地..
分类:
Web程序 时间:
2015-04-13 21:12:07
阅读次数:
146
mysql数据库常用命令1. 数据库赋权进入mysql数据库:
mysql> use mysql;给root用户设置新密码:
mysql> update user set password=password("新密码") where user="root";刷新数据库
mysql> flush privileges;nagios监控
mysql> GRANT PROCESS, REPLICATION...
分类:
数据库 时间:
2015-04-13 20:57:33
阅读次数:
237
原文: http://stackoverflow.com/questions/7888880/what-is-redis-and-what-do-i-use-it-forRedis = Remote Dictionary ServiceTL;DR: If you can map a use case...
分类:
其他好文 时间:
2015-04-13 20:25:02
阅读次数:
261
解决方案:
在出现这种情况的View 中 重写 onRestoreInstanceState方法
详细代码: protected void onRestoreInstanceState(Parcelable state) {
try {
super.onRestoreInstanceState(state);
} catch (Exception e) {
}
...
分类:
移动开发 时间:
2015-04-13 18:54:19
阅读次数:
269
WARN DTDEntityResolver:73 - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ ins...
分类:
Web程序 时间:
2015-04-13 18:17:51
阅读次数:
193
http://eloquentjavascript.net/05_higher_order.html第五章作业题1.Use thereducemethod in combination with theconcatmethod to “flatten” an array of arrays into...
分类:
Web程序 时间:
2015-04-13 18:11:36
阅读次数:
141
Scala Parameterized Types_参数化类型_泛型 Scala supports parameterized types, which are very similar to generics in Java. (We could use the two terms interchangeably(可交换的),? but it’s more ...
分类:
其他好文 时间:
2015-04-13 16:54:45
阅读次数:
166
Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors.
OJ's undirected graph serialization:
Nodes are labeled uniquely.
We use # as a separator for each...
分类:
其他好文 时间:
2015-04-13 16:41:28
阅读次数:
135