1 2 6 7 12 13 18 19 View Code如果图片是直接引用drawable中的图片资源,可以直接在TextView中定义,可直接替换为: 1 2 6 7 13 14 View Code
分类:
其他好文 时间:
2015-04-29 13:13:57
阅读次数:
233
【题目链接】click here~~
【题目大意】
In how many ways can you tile a 2xn rectangle by 2x1 or 2x2 tiles?
Here is a sample tiling of a 2x17 rectangle.
【解题思路】:
(1)一个2*2的格子有三种填充方法:
两个横着放,
两个竖着放,
放一...
分类:
其他好文 时间:
2015-04-29 11:53:06
阅读次数:
134
'const' keyword is for creating a read only variable, something you can never change once created.'const' likes 'let' keyword alos has block scope.des...
分类:
其他好文 时间:
2015-04-29 07:10:13
阅读次数:
125
ES-Next:Esnext is similar to traceur, you can use command line to compile files.Install:npm install esnext -g Here's how to compile a single file an p...
分类:
其他好文 时间:
2015-04-29 07:06:55
阅读次数:
192
Polyfill is something you don't need to set up traceur but start to use es6 in today's browser.You can search for polyfill which you want to use on Go...
分类:
其他好文 时间:
2015-04-29 07:06:33
阅读次数:
131
Dalvik opcodesAuthor:Gabor PallerVx values in the table denote a Dalvik register. Depending on the instruction, 16, 256 or 64k registers can be access...
分类:
其他好文 时间:
2015-04-29 00:37:21
阅读次数:
249
解题报告 之 POJ3057 Evacuation 最大流 动态流 更新残余网络 多次增广
Fires can be disastrous, especially when a fire breaks out in a room that is completely filled with people. Rooms usually have a couple of exits and emergency exits, but with everyone rushing out at the same t...
分类:
其他好文 时间:
2015-04-28 23:04:05
阅读次数:
340
You should use either indexing or the subset function. For example :R> df df x y z u1 1 2 3 42 2 3 4 53 3 4 5 64 4 5 6 75 5 6 7 8Then you can use th.....
分类:
其他好文 时间:
2015-04-28 20:53:50
阅读次数:
167
We often have to copy large volumes of information. Such operation can take up many computer resources. Therefore, in this problem you are advised to come up with a way to copy some part of a number a...
分类:
其他好文 时间:
2015-04-28 18:40:33
阅读次数:
250
看 linux 设备驱动开发详解时,字符设备驱动一章,注册globalmem驱动时,出现如下错误:# insmod globalmem.koinsmod: can't insert 'globalmem.ko': Device or resource busy原因:模块使用的是静态分配设备号的方式,...
分类:
系统相关 时间:
2015-04-28 17:59:44
阅读次数:
683