The set [1,2,3,…,n] contains a total of n!
unique permutations.
By listing and labeling all of the permutations in order,
We get the following sequence (ie, for n = 3):
"123""132""213""231""3...
分类:
其他好文 时间:
2014-08-28 21:15:29
阅读次数:
232
下载代码
stm32 标准外设库是 stm32 全系列芯片的外设驱动,有了它可以大大加速我们
开发 stm32。
首先从 st 公司的网站下载最新的 stm32 标准外设库,写本文时最新的版本是
V3.5.0。
解压该 zip 文件,得到如下文件夹和文件
STM32F10x_StdPeriph_Lib_V3.5.0\
_htmresc
Libraries
Project
...
分类:
其他好文 时间:
2014-08-28 16:17:29
阅读次数:
279
Given a collection of numbers, return all possible permutations.
For example,
[1,2,3] have the following permutations:
[1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2],
and [3,2,1].
思...
分类:
其他好文 时间:
2014-08-28 14:52:49
阅读次数:
158
Given a collection of numbers that might contain duplicates, return all possible unique permutations.
For example,
[1,1,2] have the following unique permutations:
[1,1,2], [1,2,1],
and [2,1,1].
...
分类:
其他好文 时间:
2014-08-28 14:51:19
阅读次数:
148
Permutation Sequence
The set [1,2,3,…,n] contains a
total of n! unique permutations.
By listing and labeling all of the permutations in order,
We get the following sequence (ie, for n = 3):...
分类:
其他好文 时间:
2014-08-28 11:30:09
阅读次数:
231
在NIOS II学习过程中设置CPU参数的时候,遇到Reset Vector和Exception Vector的设置。参数设置画面如下图所示。Reset Vector——复位向量Exception Vector——执行向量首先说明两个向量地址都存储着程序。下面分别进行解释。 ...
分类:
其他好文 时间:
2014-08-28 11:18:19
阅读次数:
337
1、关于Qsys的指令总线和数据总线连接的问题(data_master和instruction_master)关于数据和指令端口的连接的疑问,这是初用Qsys的童鞋们很困惑的问题,之前使用SOPC Builder建立Nios II时并不手动连接这些端口。对于一个添加的IP核来说什么时候连接数据端口,...
分类:
其他好文 时间:
2014-08-28 11:08:39
阅读次数:
199
题目:
Jump Game I:
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that...
分类:
其他好文 时间:
2014-08-28 02:07:48
阅读次数:
249
UVA 436 - Arbitrage (II)
题目链接
题意:给定一些国家货币的汇率,问能否通过不断换货币使钱得到增长
思路:floyd,完事后判断一下有没有连到自己能大于1的情况
代码:
#include
#include
#include
#include
#include
using namespace std;
const int N = 35...
分类:
其他好文 时间:
2014-08-28 00:54:08
阅读次数:
245
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:
其他好文 时间:
2014-08-28 00:47:28
阅读次数:
263