很巧妙的思路:先计算A之前的被K除的最大数,然后计算B-A之间能填充多少个K 1 // you can use includes, for example: 2 // #include 3 4 // you can write to stdout for debugging purposes, .....
分类:
其他好文 时间:
2014-09-15 22:47:09
阅读次数:
382
1 // you can use includes, for example: 2 // #include 3 4 // you can write to stdout for debugging purposes, e.g. 5 // cout &A) { 8 // write y...
分类:
其他好文 时间:
2014-09-15 22:39:49
阅读次数:
212
在开发Android Wear应用过程中需要对手表和手机进行同时操作,可以通过蓝牙同时对手机和手表进行操作。
1 打开手表和手机的调试设置
打开手机的usb调试
打开手表设置的开发者选项,选中Debug over Bluetooth 如果是首次使用手表调试,需要在Setting中找到About,单击7次打开开发者选项
2 连接手表到开发工具
在手机端打开Android Wear Ap...
分类:
移动开发 时间:
2014-09-12 10:16:53
阅读次数:
268
WinDbg配置和使用基础 WinDbg是微软发布的一款相当优秀的源码级(source-level)调试工具,可以用于Kernel模式调试和用户模式调试,还可以调试Dump文件。1. WinDbg介绍: Debugging Tools and Symbols: Getting Startedhttp...
分类:
数据库 时间:
2014-09-04 18:25:29
阅读次数:
415
mtk平台服务器编译系统版本由eng版本改为user版本后,不能直接push系统应用进行调试(因为push后无效或者报错)。需要先进入工程模式,设置Log and Debugging 为root用户权限。Push app时需要先将对应目录的.odex文件删除,然后再push对应apk即可(否则改动无...
分类:
移动开发 时间:
2014-09-04 16:36:09
阅读次数:
424
http://www.cnblogs.com/newyorker/archive/2013/01/22/2870682.html原文 http://www.stubbornella.org/content/2012/05/02/cross-browser-debugging-css/作者为YAHOO...
分类:
Web程序 时间:
2014-09-02 19:40:15
阅读次数:
270
Debugging Techniques
内核debug的挑战:
Kernel programming brings its own, unique debugging challenges. Kernel code can not be easily executed under a debugger, nor can it be eas...
分类:
其他好文 时间:
2014-09-02 00:23:13
阅读次数:
476
1.样式调试:weinre:google.com/search?btnI&q=weinreBasic inspection tools2.js调试:debuggap:http://www.debuggap.com/3.样式,js都可以调试remote debugging chrome:https:/...
分类:
移动开发 时间:
2014-09-01 12:09:03
阅读次数:
209
https://www.youtube.com/watch?v=GE8EsGUsC2wpython c apipyerr_setstringboostregister_exception_translatorhandy debugging tipboost::python::throw_error_...
分类:
编程语言 时间:
2014-08-31 14:21:51
阅读次数:
415
当我们有时候用VS2010写完代码,进行调试运行时,发现程序进不了调试模式,断点模式!!解决方法:点击菜单栏Tools,选择Options,在左边导航选择Debugging,点击左边小箭头,选择General在右边窗口把Requiresourcefilestoexactlymatchtheoriginalversion前面的对号去掉,就可..
分类:
其他好文 时间:
2014-08-31 02:50:41
阅读次数:
214