代码 #define tu nod[u] #define tv nod[v] #define e tree[id] #define lson tree[id*2] #define rson tree[id*2+1] int N; struct node{ int top,fa,deep,s,p,fp ...
分类:
其他好文 时间:
2016-08-11 09:43:05
阅读次数:
165
Playing for Data: Ground Truth from Computer Games ECCV 2016 Project Page:http://download.visinf.tu-darmstadt.de/data/from_games/index.html arXiv Pape ...
分类:
其他好文 时间:
2016-08-10 06:31:33
阅读次数:
161
目前越来越多的浏览器都已经支持使用flex来,进行布局了。当然使用flex布局可以解决很多传统布局方式带来的问题,比如居中问题。 这里有阮一峰老师的中文教程: http://www.ruanyifeng.com/blog/2015/07/flex-grammar.html?utm_source=tu ...
分类:
其他好文 时间:
2016-08-09 20:47:19
阅读次数:
144
本文主要是实现:查找列表中元素,移除每个元素的空格,并查找以 a或A开头 并且以 c 结尾的所有元素。li = ["alec", " aric", "Alex", "Tony", "rain"]tu = ("alec", " aric", "Alex", "Tony", "rain")dic = { ...
分类:
其他好文 时间:
2016-08-03 18:22:06
阅读次数:
151
1.这样方式可以把key相同的数据从userList 筛选出来,并分类好放到ArrayList<TUser>中 Map<String, ArrayList<TUser>> arrayMap = new HashMap<String, ArrayList<TUser>>(); ArrayList<TU ...
分类:
其他好文 时间:
2016-08-01 22:48:34
阅读次数:
126
示例: @keyframes tu{ 30%{ border-radius: 50%; } 70%{transform:translate(400px) rotate(360deg);} 90%{color: blueviolet} } //适应浏览器 @-webkit-keyframes tu { ...
分类:
Web程序 时间:
2016-07-31 19:24:33
阅读次数:
290
原博文地址:http://www.blogjava.net/daniel-tu/archive/2008/12/29/248883.html 一.软件介绍(apache lighttpd nginx) 1. lighttpd Lighttpd是一个具有非常低的内存开销,cpu占用率低,效能好,以及丰 ...
分类:
Web程序 时间:
2016-07-31 00:04:54
阅读次数:
257
史上最全的iOS面试题及答案 迷途的羔羊--专为路痴量身打造的品牌。史上最精准的定位。想迷路都难!闪电更新中...敬请期待,欢迎提意见。下载地址:https://itunes.apple.com/us/app/mi-tu-de-gao-yang/id910431002?l=zh&ls=1&mt=8 ...
分类:
移动开发 时间:
2016-07-07 17:22:58
阅读次数:
248
跨域请求一直是网页编程中的一个难题,在过去,绝大多数人都倾向于使用JSONP来解决这一问题。不过现在,我们可以考虑一下W3C中一项新的特性——CORS(Cross-Origin Resource Sharing)了。 本文的所有代码均来自http://www.html5rocks.com/en/tu ...
分类:
其他好文 时间:
2016-06-29 18:32:27
阅读次数:
176
namespace ConsoleApplication2{ class Program { #region 将数值型的二维数组的值,赋值给字符串型的二维数组,并打印地图 public void ditus(int[,,] tu,int m) { string[,] ditu = new strin ...
分类:
其他好文 时间:
2016-06-28 18:11:17
阅读次数:
166