代码搜索结果

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

2128.cpp

/* This Code is Submitted by wywcgs for Problem 2128 on 2006-08-14 at 01:15:35 */ #include #include using namespace std; const int N = 128; const int HN = 10240; int m

2386.cpp

/* This Code is Submitted by wywcgs for Problem 2386 on 2006-09-28 at 15:52:05 */ #include #include using namespace std; const int N = 10240; int main() { int num[N]

2218.cpp

/* This Code is Submitted by wywcgs for Problem 2218 on 2006-04-26 at 12:29:12 */ #include #include using namespace std; const int BN = 256; int main() { bool need[B

2373.cpp

/* This Code is Submitted by wywcgs for Problem 2373 on 2006-09-25 at 19:31:10 */ #include #include using namespace std; int C(int, int); int main() { int n, m; w

2331.cpp

/* This Code is Submitted by wywcgs for Problem 2331 on 2006-08-20 at 21:23:18 */ #include #include using namespace std; const int N = 1

2392.cpp

/* This Code is Submitted by wywcgs for Problem 2392 on 2006-10-10 at 15:31:34 */ #include #include using namespace std; const int N = 10240; int main() { int a[N], an

1953.cpp

/* This Code is Submitted by wywcgs for Problem 1953 on 2006-05-17 at 14:25:21 */ #include #include using namespace std; const int PM = 32000; int main() { bool prim

2000.cpp

/* This Code is Submitted by wywcgs for Problem 2000 on 2007-06-01 at 12:53:57 */ #include #include using namespace std; const int N = 128; int main() { int m[N][N], T

1058.cpp

/* This Code is Submitted by wywcgs for Problem 1058 on 2006-01-19 at 04:17:01 */ #include #include using namespace std; const int MAX = 1024; int main() { int n,

2400.cpp

/* This Code is Submitted by wywcgs for Problem 2400 on 2006-10-10 at 16:12:10 */ #include #include #include using namespace std; const int L = 128, S = 1