上一页 1 ··· 61 62 63 64 65 66 67 68 69 ··· 139 下一页
摘要: 看不见的root的 QModelIndex() 是 无效的 list 和table 的index 函数中的parent参数就只要 root QModelIndex 就可以,因为没有层级概念 Model indexes give views and delegates information about the location of items provided by models in a... 阅读全文
posted @ 2015-04-24 12:31 katago 阅读(398) 评论(0) 推荐(0)
摘要: 在王晓东编著的《算法设计与实验题解》中看到的这个问题,问题描述如下: 一本书的页码从自然数1开始顺序编码直到自然数n。书的页码按照通常的习惯编排,每个页码都不含多余的前导数字0。例如第6页用6表示而不是06或006。数字统计问题要求对给定书的总页码,计算出书的全部页码中分别用到多少次数字0,1,2,3,.....9。 这个题目有个最容易想到的n*log10(n)的算法。这是自己... 阅读全文
posted @ 2015-04-02 11:15 katago 阅读(2419) 评论(0) 推荐(0)
摘要: http://poj.org/problem?id=3617 #include #include #include #include #include using namespace std; const int MAX_N=2000; char S[MAX_N+1]; int N; int main() { cin>>N; for(int i=0;i>S[i]; ... 阅读全文
posted @ 2015-03-17 13:41 katago 阅读(253) 评论(0) 推荐(0)
摘要: 代码不写就手生啊。。。 注意输入, 二维数组 #include #include #include #include #include using namespace std; const int maxn=100+5; char field[maxn][maxn]; int n,m; void input() { scanf("%d%d", &n, &m); for(... 阅读全文
posted @ 2015-03-12 15:01 katago 阅读(241) 评论(0) 推荐(0)
摘要: Optimal Programs As you know, writing programs is often far from being easy. Things become even harder if your programs have to be as fast as possible. And sometimes there is reason for them to ... 阅读全文
posted @ 2015-01-22 16:37 katago 阅读(273) 评论(0) 推荐(0)
摘要: 【爱加密】防止签名破解 | 浏览:312 | 更新:2014-01-29 15:30 | 标签: 加密 1 2 3 4 5 6 7 分步阅读 百度经验:jingyan.ba... 阅读全文
posted @ 2014-12-05 16:27 katago 阅读(430) 评论(0) 推荐(0)
摘要: # begin build properties (开始设置系统性能) # autogenerated by buildinfo.sh (通过设置形成系统信息) ro.build.id=GRI40 (版本ID) ro.build.display.id=GRJ22 (版本号) ro.build.version.incremental=eng.buildbot.20110619.060228 ... 阅读全文
posted @ 2014-12-05 14:57 katago 阅读(545) 评论(0) 推荐(0)
摘要: android mock location2014-01-26 我来说两句 来源:党玉涛 收藏 我要投稿 现在软件市场上有很多可以改变手机地理位置的软件,更改后打开微信就可以随意定位,甚至前几年有依靠这个技术打广告为生的小型公司。 一获取地理位置的方法 获取地理位置的方法一般分为两种。 1)GPS 24颗卫星定位全球(图... 阅读全文
posted @ 2014-12-04 12:24 katago 阅读(785) 评论(0) 推荐(0)
摘要: 原理:用 setTestProviderLocation 设置模拟gps的位置 http://androidcookbook.com/Recipe.seam?recipeId=1229 http://www.2cto.com/kf/201401/275543.html https://github.com/johnkil/MockGPS (可用,有bug) 这篇文章介绍... 阅读全文
posted @ 2014-12-04 11:09 katago 阅读(1138) 评论(0) 推荐(0)
摘要: Linux下 解包/打包 Android 映像文件 system.img, boot.img, ramdisk.img, userdata.img. 2014年10月20日 ⁄ 计算机视觉 ⁄ 共 1372字⁄ ⁄ 暂无评论 转自: http://blog.csdn.net/yulix/article/details/12968705 Android源码编译成功后会输出映像文件:system... 阅读全文
posted @ 2014-12-03 15:35 katago 阅读(25591) 评论(0) 推荐(0)
上一页 1 ··· 61 62 63 64 65 66 67 68 69 ··· 139 下一页