Given a dice with n sides, you have to find the expected number of times you have to throw that dice to see all its faces at least once. Assume that t ...
分类:
其他好文 时间:
2017-11-05 17:21:05
阅读次数:
156
最近在MCU on Eclipse网站上看到Erich Styger所写的一篇有关通过SWD的跟踪接口SWO获取ARM Cortex-M相关信息的文章,文章结构明晰,讲解透彻,本人深受启发,特意将其翻译过来供各位同仁参考。当然限于个人水平,有不当之处恳请指正。原文网址:https://mcuonec ...
分类:
系统相关 时间:
2017-11-05 13:07:50
阅读次数:
374
python3往这个库中加入了一些新的内容,使得该库在Python2.7中报错。 解决方法是将导入语句 更换为: ...
分类:
编程语言 时间:
2017-11-03 15:25:16
阅读次数:
796
一:配置文件案例 二:属性详解 1、diskStore :指定数据(.data and .index)存储位置,可指定磁盘中的文件夹位置期 The diskStore element is optional. It must be configured if you have overflowToD ...
分类:
系统相关 时间:
2017-11-02 16:59:45
阅读次数:
208
让我很是疑惑,为什么会产生这个错误。 查资料很多说是一个接口有两个实现类,在引用的时候单纯的使用Autowire就会出现上述错误。但是我看了一下项目中的代码,没有出现这种情况。 尝试过很多次后,找到问题了,是因为MyBatis的MapperScannerConfigurer的配置引起的。 项目中出了 ...
分类:
其他好文 时间:
2017-11-01 16:32:59
阅读次数:
227
file>settings>editor>general>appearance>show right margin(configured in code style ootions) ...
分类:
Web程序 时间:
2017-11-01 12:08:36
阅读次数:
182
初次使用使用IDEA搭建web application,习惯性的右键jsp页面在选择浏览器浏览,以为会想VS一样自动启动,结果提示 原来IDEA要这么做,需要先把服务容器启动起来,工具栏中选中Run,然后选择Run...,会跳出配置页面 选择Edit Configurations,会弹出配置页 左侧 ...
分类:
Web程序 时间:
2017-10-30 14:28:40
阅读次数:
1358
Expected score 50 + 30 + ??? Actual score 10 + 20 + 30 T1乱搞,没想出贪心; T2手算30, gg算错; T3枚举k,O(∩_∩)O哈哈~,数组开小, gg 水题(water) //竟然只有10 #include <iostream> #inc ...
分类:
其他好文 时间:
2017-10-28 21:07:03
阅读次数:
314
异常一: 原因:端口号被占用,删掉端口号的进程。 异常二: HTTP ERROR 500 :JSP support not configured 在默认webapps下可以,但自定义的部署目录下就出现以上错误。原因是自定义的部署,没有添加jsp的module 默认的start.ini 下有个 --m ...
分类:
其他好文 时间:
2017-10-27 13:30:41
阅读次数:
161
虚拟机提示 虚拟机提示 Error: Failed to create the VirtualBox COM object. The application will now terminate. Start tag expected, '<' not found. Location: '/home ...
分类:
其他好文 时间:
2017-10-26 13:24:47
阅读次数:
222