quatusII9.1笔记,VHDL建立一个与门实例。
分类:
其他好文 时间:
2014-11-13 12:33:32
阅读次数:
174
uC/OS-II的OSSchedLock()和OSSchedUnlock()函数允许应用程序锁定当前任务不被其它任务抢占。使用时应当注意的是:当你调用了OSSchedLock()之后,而在调用OSSchedUnlock()之前,千万不要再调用诸如OSFlagPend()、OSMboxPend()、O...
分类:
其他好文 时间:
2014-11-13 12:19:02
阅读次数:
236
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,...
分类:
其他好文 时间:
2014-11-13 07:01:33
阅读次数:
113
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the following unique perm...
分类:
其他好文 时间:
2014-11-13 06:59:23
阅读次数:
166
微软近期Open的职位:Office China team is looking for experienced engineers to improve consumer experience in China. Office has great products and features tha...
分类:
其他好文 时间:
2014-11-13 06:57:50
阅读次数:
202
Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Follow up:Can you solve it without using extra space?怎...
分类:
其他好文 时间:
2014-11-13 00:20:11
阅读次数:
281
Given a string S, find the longest palindromic substring in S.Note:This is Part II of the article:Longest Palindromic Substring. Here, we describe an ...
分类:
其他好文 时间:
2014-11-12 21:05:22
阅读次数:
345
其实嘞,这个线可以只延伸一端
然后嘞,爆搜一次就可以
最后嘞,600-800ms过
本弱就是弱啊,你来打我呀……
#include
#include
#include
#include
using namespace std;
int a[100][100];
int n,m,ans;
bool dfs(int step)
{
int i,j,t,ii,jj,x,y,cnt,tx...
分类:
其他好文 时间:
2014-11-12 19:48:25
阅读次数:
271
问题描述:
Given an integer n, generate a square matrix filled with elements from 1 to
n2 in spiral order.
For example,
Given n = 3,
You should return the following matrix:
[
[ 1, 2, 3 ],
[ 8, 9,...
分类:
其他好文 时间:
2014-11-12 15:06:18
阅读次数:
183
问题描述:
Given a collection of integers that might contain duplicates,
S, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.The solution set must not conta...
分类:
其他好文 时间:
2014-11-12 13:52:10
阅读次数:
184