目前,我觉得STM32CUBE最大的方便在于,可以使用STM32CubeMX软件来图形化配置外设。首先贴出官网的PDF,Getting started with STM32CubeF4 firmware package for STM32F4 Series【UM1730 User Manual】。来...
分类:
其他好文 时间:
2015-04-09 19:38:26
阅读次数:
196
All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When studying DNA, it is sometimes useful to ...
分类:
其他好文 时间:
2015-04-09 11:48:34
阅读次数:
105
GCC 5 Release Series Changes, New Features, and Fixes Caveats The default mode for C is now?-std=gnu11?instead of?-std=gnu89. The Graphite framework for loop optimizations no longer requires th...
分类:
其他好文 时间:
2015-04-08 15:14:04
阅读次数:
240
题意:矩阵求和
思路:用二分幂解决,和等比数列求和的二分方法一样
等比数列求和法(摘自http://blog.csdn.net/acdreamers/article/details/7851144 ACdreams)
有效地求表达式的值:
(1)当时,
(2)当时,那么有
(3)当时,那么有
当n是奇数时作者做了一步优化,隔离出...
分类:
其他好文 时间:
2015-04-08 09:17:34
阅读次数:
167
Description
The Maze Makers is a publisher of puzzle books. One of their most popular series is maze books. They have a program that generates rectangular two-dimensional mazes like the one shown...
分类:
其他好文 时间:
2015-04-07 17:43:08
阅读次数:
156
BMW engineering and development diagnostic software can project powerful functions for both old and new BMW series, like E39, E60, E65 etc, CANBUS mod...
分类:
其他好文 时间:
2015-04-06 10:10:02
阅读次数:
254
Matrix Power Series 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #inclu...
分类:
其他好文 时间:
2015-04-05 23:23:15
阅读次数:
168
大致题意:简单题意就不解释了。
不过可以建议大家可以先做POJ 3070,先学会快速幂的基本思想。
没有做过的可以查看我的博客:点击打开链接
然后我们已经会使用矩阵快速幂求解A^k,则如何求解 A+A^2+A^3……
这里还是运用了二分的思想 ,例如:
令S(N)=A+A^2+……+A^N;
则S(6)=A+A^2+A^3+A^4+A^5+A^6=(1+A^3)...
分类:
其他好文 时间:
2015-04-04 12:17:44
阅读次数:
168
C - Matrix Power Series Time Limit:3000MS Memory Limit:131072KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 3233DescriptionGiven a n × n m...
分类:
其他好文 时间:
2015-04-04 12:01:26
阅读次数:
128
题意:给一个n*n的矩阵A,求k次幂之和S=A+A2+A3+ … +Ak思路:矩阵快速幂。#include#include#includeusing namespace std;typedef struct node{ int matrix[55][55];}Matrix;Matrix a,s...
分类:
其他好文 时间:
2015-04-04 11:59:15
阅读次数:
134