reference: http://xilinx.eetrend.com/d6-xilinx/article/2013-03/3863.html 摘 要:当今时代,嵌入式系统已经无所不在,与人们的日常生活息息相关。嵌入式系统以微处理器为核心,以计算机技术为基础,其主要特征是实时性强。据统计,目前世界 ...
分类:
其他好文 时间:
2018-10-28 11:18:15
阅读次数:
155
Painting some colored segments on a line, some previously painted segments may be covered by some the subsequent ones. Your task is counting the segme ...
分类:
其他好文 时间:
2018-10-28 11:16:28
阅读次数:
135
reference:http://xilinx.eetrend.com/d6-xilinx/blog/2010-05/682.html 随着集成电路设计与制造技术的发展,FPGA芯片的容量越来越大、性能越来越高,用FPGA构建片上系统成为现实,基于FPGA的嵌入式系统与SOPC(System On ...
分类:
其他好文 时间:
2018-10-28 11:16:11
阅读次数:
181
reference:https://cygwin.com/install.html 对于使用Windows操作系统作为开发平台同时又喜欢类unix环境的朋友(Windows不是最方便的开发环境),这里是在Cygwin环境下安装Rails的步骤 安装 Cygwin 先去http://www.cygwi ...
OpenCV3 Ref SVM : cv::ml::SVM Class Reference OpenCV2: #include <opencv2/core/core.hpp>#include <opencv2/highgui/highgui.hpp>#include <opencv2/ml/ml.h ...
分类:
其他好文 时间:
2018-10-27 21:46:51
阅读次数:
316
The task is simple: given any positive integer N, you are supposed to count the total number of 1's in the decimal form of the integers from 1 to N. F ...
分类:
其他好文 时间:
2018-10-27 21:19:10
阅读次数:
178
Counting Stars http://acm.hdu.edu.cn/showproblem.php?pid=6184 题意:求这样图形的个数。 分析: 三元环计数。 两个三元环可以组成一个那样的图形。于是直接枚举一条边,然后求这条边所能构成的三元环。 三元环的求法和更优的做法。 代码: ...
分类:
其他好文 时间:
2018-10-27 17:10:36
阅读次数:
146
传送门 题意:给出一个$N$个点、$M$条边的无向连通图,求有多少组无序数对$(i,j)$满足:割掉第$i$条边与第$j$条边之后,图变为不连通。$N \leq 10^5 , M \leq 3 \times 10^5$ 竟然随机化,歪果仁的思想好灵活qwq肯定是数据结构做多了 看起来很像割边,考虑$ ...
分类:
其他好文 时间:
2018-10-27 00:01:13
阅读次数:
255
1.导入jar包 2.在web.xml中配置前端控制器DispatcherServlet 2.1 如果不配置<init-param>,则默认找/WEB-INF/<servlet-name>-servlet.xml.配置<init-param>是为了改变默认加载的配置文件名称和路径 3.在src下新建 ...
分类:
编程语言 时间:
2018-10-25 22:41:47
阅读次数:
234
上一篇《【原】无脑操作:IDEA + maven + Shiro + SpringBoot + JPA + Thymeleaf实现基础认证权限》介绍了实现Shiro的基础认证。本篇谈谈实现Shiro的基础授权。 需求: ① 某系统有公共模块、领导模块、管理员模块三个业务模块,均需要登录系统后才可以访 ...
分类:
编程语言 时间:
2018-10-25 14:01:27
阅读次数:
147