代码搜索结果

找到约 33,766 项符合 Algorithm 的代码

contents.m

% Genetic Optimization Toolbox % % Main interface % ga.m The Genetic Algorithm % initialize.m Initialization function Used by ga.m % % Operators used during simu

gaotin~1.htm

Genetic Algorithm Optimization Toolbox (GAOT) The following files are in the distribution: Main interface ga.m

booth.v

//;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; //16-bit Booth's algorithm for multiplier //Filename : booth.v ;;

pku 2249 组合数(不预处理).txt

#include #include #include #include using namespace std; //PKU 2249 组合数(不预处理) int main() { __int64 n,k,ans,i; scanf("%I64d %I64d",&n,&k); while

p2159.cpp

#include #include using namespace std; int main(){ string s1,s2,t; int v[101],v1[101],v2[101]; int n; cin >> s1 >> s2; n = s1.size(); memset(v,0

p2388.cpp

#include #include using namespace std; const int MAXN = 10001; int a[MAXN]; int main(){ int n; cin >> n; for(int i = 0;i < n;++i) scanf("%d",&a[i]); sor

p2371.cpp

#include #include using namespace std; const int MAXN = 100001; int a[MAXN]; int main(){ int n,k,x; cin >> n; for(int i = 0;i < n;++i) scanf("%d",&a[i]);

p2092.cpp

#include #include using namespace std; const int MAXN = 10001; struct point{ int s,ind; }; bool cmp(point a,point b){ return a.s > b.s || a.s == b.s && a.ind < b.ind; } po

p1828.cpp

#include #include using namespace std; const int MAXN = 50001; struct point{ int x,y; }; point a[MAXN]; bool cmp(point a,point b){ return a.x > b.x || a.x == b.x && a.y >

p2231.cpp

#include #include using namespace std; const int MAXN = 10001; long long a[MAXN],s[MAXN]; int main(){ int n; scanf("%d",&n); for(int i = 0;i < n;++i) scanf("