码迷,mamicode.com
首页 >  
搜索关键字:wang xifengs little    ( 2433个结果
【转载】android软键盘的一些控制
原文地址:http://blog.csdn.net/wang_shaner/article/details/8467688"EditText + Button" 形成一个 "输入+按键响应" 的案例在android编程中是最常见不过的了。但还有一些细节需要注意:在EditText输入后,点击Butt...
分类:移动开发   时间:2014-07-16 23:04:02    阅读次数:271
如何判断CPU字节序之[Big-endian vs Little-endian]
big-endian vs little-endian
分类:其他好文   时间:2014-07-16 22:55:10    阅读次数:227
ICDM 2007
Language-Independent Set Expansion of Named Entities Using the Web.Chao Wang,Venu Satuluri,Srinivasan Parthasarathy:Local Probabilistic Models for Lin...
分类:其他好文   时间:2014-07-16 20:14:17    阅读次数:346
设计模式 - 状态模式(state pattern) 未使用状态模式 详解
状态模式(state pattern) 未使用状态模式 详解本文地址: http://blog.csdn.net/caroline_wendy状态模式可以控制状态的转换, 未使用设计模式时, 程序会非常繁杂.具体方法:1. 状态转换/** * @time 2014年7月11日 */ package state; /** * @author C.L.Wang * */ public cl...
分类:其他好文   时间:2014-07-12 23:32:37    阅读次数:243
SGU 224.Little Queens
时间限制:0.75s空间限制:6M题意 n*n(n>1; r同理,即rint n, sum, max, k, m;void dfs (int line , int row, int l, int r, int k) { int pos, p, i; if (line > n){ ...
分类:其他好文   时间:2014-07-11 17:59:56    阅读次数:358
[Codeforces 258B & 259 D]Little Elephant and Elections 数位dp+dfs
题目大意: 说七个party选择数字(各不相同) 而规定的小象的party选择的数字之中所拥有的数字4和7的个数要比其他六个party拥有的个数之和还要严格多,询问方案数。 如m=7时其余的随意选择至少会拥有一个4或7,与题意矛盾,故方案数为0 m=8时,7 1 2 3 5 6 8是一种合法方案 思路: 由于小象的party选到的数字所含4和7的个数至多和m的位数一样多,则枚举小象的party所含4和7的个数,剩余的6个party直接用dfs即可(直接用乘法原理)。 而通过数位dp可以算出1~m之中所拥有...
分类:其他好文   时间:2014-07-10 19:44:26    阅读次数:193
poj 3735 Training little cats 矩阵
假设n=3 构造矩阵【1,0,0,0】 对于g 1操作,构造矩阵(0行i列++) 1 1 0 0 0 1 0 0 0 0 1 0 0 0 0 1 对于e 1操作,构造矩阵 (i整列清空) 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 对于s 1 2操作,构造矩阵 (i,j整列交换) 1 0 0 0 0 0 1 0 0 1 0 0 0 0...
分类:其他好文   时间:2014-07-10 19:37:51    阅读次数:204
Little Bishops uva861
Little BishopsA bishop is a piece used in the game of chess which is played on a board of square grids. A bishop can only move diagonally from its cur...
分类:其他好文   时间:2014-07-09 23:05:17    阅读次数:252
SGU 223.Little Kings
时间限制:0.25s空间限制:4M题意: 在 n*n(n≤10)的棋盘上放 k (k#include #define LL long longusing namespace std;int powT[11];int statu[1 > 1) ) == 0) && ( (i & (i 0; t ...
分类:其他好文   时间:2014-07-09 13:43:57    阅读次数:168
[POJ 3735] Training little cats (构造矩阵、矩阵快速幂)
POJ 3735 Training little cats 矩阵快速幂 矩阵构造...
分类:其他好文   时间:2014-07-08 17:58:52    阅读次数:172
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!