low poly低多边形(类似于折纸的效果),多边形风格的设计应用越来越多,今天我们就来看一个利用d3.js写成的生成器。...
分类:
其他好文 时间:
2014-06-05 07:58:03
阅读次数:
243
Swift is a multi-tenant, highly scalable and
durable object storage system that was designed to store large amounts of
unstructured data at low cost v...
分类:
移动开发 时间:
2014-06-03 15:50:12
阅读次数:
369
求出强联通分量之后判断出度为0的点有几个,有1个就输出这个分量的点的数目,否则输出0;var
i,j,n,m,x,y,ans1,ans2,t,cnt,top:longint; head,next,go,sta,inp:array[0..50010] of
longint; low,dfn...
分类:
移动开发 时间:
2014-06-02 11:38:57
阅读次数:
220
快排,从小到大排序 1 void quicksort(int a[],int low,int
high) 2 { 3 int i=low; 4 int j=high; 5 int temp=a[i]; 6
if(i=temp&&i<j) j--; ...
分类:
其他好文 时间:
2014-05-30 08:03:25
阅读次数:
268
tarjan,叙叙旧咯#include#define maxn 50005int
e[maxn],ne[maxn],be[maxn],all;int DFN[maxn],LOW[maxn],stack[maxn],curr,stak;bool
instack[maxn];int num,belong...
分类:
其他好文 时间:
2014-05-29 23:09:39
阅读次数:
219
//二分查找$arr = array(0,1,2,3,4,5,6,7,8,9); function
bin_sch($array, $low, $high, $k){ if ($low <= $high){ $mid =
intval(($low+$high)/2); ...
分类:
Web程序 时间:
2014-05-25 19:05:46
阅读次数:
338
电源种类介绍
(百度百科)LDO是low dropout regulator,意为低压差线性稳压器,是相对于传统的线性稳压器来说的。传统的线性稳压器,如78xx系列的芯片都要求输入电压要比输出电压高出2v~3V以上,否则就不能正常工作。但是在一些情况下,这样的条件显然是太苛刻了,如5v转3.3v,输入与输出的压差只有1.7v,显然是不满足条件的。针对这种情况,才有了LDO类的电源转换...
分类:
系统相关 时间:
2014-05-24 23:20:12
阅读次数:
691
本技术支持指南主要处理:ASCII, binary, and MAT
files.要得到MATLAB中可用来读写各种文件格式的完全函数列表,可以键入以下命令: help iofun MATLAB中有两种文件I/O程序:high
level and low level. High leve...
分类:
其他好文 时间:
2014-05-19 14:01:25
阅读次数:
393
题目来源:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=3490题意: 给出两个集合Y
, N , 给出区间【low , high】 , 问在 这个区间有多少个这样的数,x , 满足, 集合Y中至少一个数被x 整除, 且 集合 ...
分类:
其他好文 时间:
2014-05-19 10:35:04
阅读次数:
256
dp[i]=max(dp[i],dp[j]+1) ja[i]
dp[i]表示长度为i的最长下降子序列的长度。
r[i]表示长度为i的最长下降子序列的方案数。
考虑这样一个问题,比如6 3 9 3,对于两个3,他们数字一样并且dp值也一样,那么r[2]的方案数是没有意义的
因为能通过第一个3扩展的也能通过第二个3扩展,所以直接把r[2]=0。
对于一次扩展若dp[j]+1==dp[i],则...
分类:
其他好文 时间:
2014-05-18 06:31:43
阅读次数:
249