首页 > 其他
Activity(3、启动模式)
Activity(3、启动模式)
分类:其他   时间:2015-01-23 21:24:54    收藏:0  评论:0  赞:0  阅读:245
HDU 1059 Dividing 分配(AC代码)多重背包的变形
1 #include 2 using namespace std; 3 int num[6]; 4 int dp[200]; 5 bool divide(int sum) 6 { 7 int k,i,j; 8 for(i=0;ii;j--)11 i...
分类:其他   时间:2015-01-23 21:24:24    收藏:0  评论:0  赞:0  阅读:306
火狐浏览器让书签栏在页面左侧,就是一点击书签图标
火狐浏览器让书签栏在页面左侧,就是一点击书签图标,图下图所示:解决办法:快捷键ctrl+b
分类:其他   时间:2015-01-23 21:24:16    收藏:0  评论:0  赞:0  阅读:277
LeetCode - Dungeon Game
Dungeon Game2015.1.23 19:38The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists o...
分类:其他   时间:2015-01-23 21:24:04    收藏:0  评论:0  赞:0  阅读:256
数据持久化的复习
数据持久化的复习1. 普通对象的写?入 - NSString- NSArray- NSDictionary- NSData(保存图?片、?音频数据等)2. 复杂对象的写?入- 遵守NSCoding协议 - 实现协议中的?方法? initWithCoder: (解码的?方法)? encod...
分类:其他   时间:2015-01-23 21:23:54    收藏:0  评论:0  赞:0  阅读:254
学习笔记之JUnit学习总结 [ 光影人像 东海陈光剑 的博客 ]
JUnit中的assert方法全部放在Assert类中,现在总结一下经常用到的junit类中assert方法。 1.assertTrue/False([String message],boolean condition) 判断一个条件是true还是false。 2.fail([String mess...
分类:其他   时间:2015-01-23 21:23:44    收藏:0  评论:0  赞:0  阅读:212
电话状态、电话录音
获得电话状态需要在请电脑文件中添加如下权限监听电话的步骤: 说用到主要方法:void listen(PhoneStateListener listener, int events) Registers a listener object to receive notification of chan...
分类:其他   时间:2015-01-23 21:23:34    收藏:0  评论:0  赞:0  阅读:399
intent(1、传递参数)
intent(1、传递参数)
分类:其他   时间:2015-01-23 21:23:14    收藏:0  评论:0  赞:0  阅读:266
关于二进制补码
转:http://www.ruanyifeng.com/blog/2009/08/twos_complement.html问一个主要的问题。负数在计算机中怎样表示?举例来说,+8在计算机中表示为二进制的1000,那么-8怎么表示呢?非常easy想到,能够将一个二进制位(bit)专门规定为符号位,它等...
分类:其他   时间:2015-01-23 21:23:04    收藏:0  评论:0  赞:0  阅读:273
LeetCode2-Add Two Numbers
题目You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a singl...
分类:其他   时间:2015-01-23 21:22:44    收藏:0  评论:0  赞:0  阅读:292
widget(4、spinner)
widget(4、spinner)
分类:其他   时间:2015-01-23 21:22:34    收藏:0  评论:0  赞:0  阅读:270
Quantum ESPRESSO tutorial: Car-Parrinello Molecular Dynamics
These examples illustrate the applications ofcp.xMD code in the Quantum ESPRESSO distribution. Since MD simulations usually take very long, we will lo...
分类:其他   时间:2015-01-23 21:22:24    收藏:0  评论:0  赞:0  阅读:380
团队介绍 [ 光影人像 东海陈光剑 的博客 ]
淘宝测试团队,致力于做测试的行业标准。 据说,男人看美图可以延年益寿,女人看美图可以美容养颜........那么, 去哪儿看美图呢? 亲爱的,别急!别急!! 在这里--- 欢迎关注! 光影人像 公众号!光影人像---和美不期而遇.( 摄影 艺术 人像 美图 )Copyright 2015 光影科技公...
分类:其他   时间:2015-01-23 21:21:54    收藏:0  评论:0  赞:0  阅读:356
1197: [HNOI2006]花仙子的魔法
1197: [HNOI2006]花仙子的魔法Time Limit:10 SecMemory Limit:162 MBSubmit:762Solved:443[Submit][Status]DescriptionInput包含两个整数,并用一个空格隔开,第一个整数表示实施魔法的次数m,第二个整数表示空...
分类:其他   时间:2015-01-23 21:21:44    收藏:0  评论:0  赞:0  阅读:351
代码 调节屏幕亮度
- (IBAction)Slider:(id)sender { [[UIScreen mainScreen] setBrightness: mSlider.value];}- (IBAction)Stepper:(id)sender { [[UIScreen mainScreen] setBrig....
分类:其他   时间:2015-01-23 21:21:14    收藏:0  评论:0  赞:0  阅读:297
模拟IP测试的2种解决方法 [ 光影人像 东海陈光剑 的博客 ]
背景: 之前遇到一个Labs日常需求是对于不同IP地址访问有逻辑判断,例如湖南的IP可以访问,其他地域的IP地址无法访问应用。 难点: 在测试过程中访问应用时,本地地址无法改变,始终为同一地址。对于不同IP地址段的需求无法测试 解决方案一 使用Debug方式远程调试代码 思路:通过本地发起Http请...
分类:其他   时间:2015-01-23 21:20:45    收藏:0  评论:0  赞:0  阅读:262
布局(1、线性布局)
布局(1、线性布局)
分类:其他   时间:2015-01-23 21:20:34    收藏:0  评论:0  赞:0  阅读:297
Activity(2. 跳转)
Activity(2. 跳转)
分类:其他   时间:2015-01-23 21:19:54    收藏:0  评论:0  赞:0  阅读:326
pthread_cond_wait 信号量丢失
服务器在使用pthread_cond_wait的时候遇到一个问题。具体描述如下一个主进程,给n个从线程发送计算请求,主进程会等待n个线程返回,在执行下一步从线程计算完毕后,最后一个线程会通知主线程。如下是示意性代码main_process(){ for(int i = 0; i sig...
分类:其他   时间:2015-01-23 21:19:24    收藏:0  评论:0  赞:0  阅读:517
LeetCode - Binary Search Tree Iterator
Binary Search Tree Iterator2015.1.23 18:58Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node ...
分类:其他   时间:2015-01-23 21:19:14    收藏:0  评论:0  赞:0  阅读:252
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!