代码搜索结果

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

2314.cpp

/* This Code is Submitted by wywcgs for Problem 2314 on 2006-08-13 at 20:29:42 */ #include #include using namespace std; const int N = 1024; int main() { int i, T, f

2305.cpp

/* This Code is Submitted by wywcgs for Problem 2305 on 2006-08-07 at 11:57:29 */ #include #include using namespace std; const int N = 32768; bool prime[N]; int pn = 0

1839.cpp

/* This Code is Submitted by wywcgs for Problem 1839 on 2006-09-03 at 22:22:30 */ #include #include using namespace std; const int N = 1024; int main() { int T, r, c

1972.cpp

/* This Code is Submitted by wywcgs for Problem 1972 on 2006-07-01 at 11:21:00 */ #include #include using namespace std; const int N = 1024; const double INF = 1e20; i

2261.cpp

/* This Code is Submitted by wywcgs for Problem 2261 on 2006-06-03 at 17:17:36 */ #include #include #include using namespace std; const int L = 1024; int mai

2391.cpp

/* This Code is Submitted by wywcgs for Problem 2391 on 2006-09-28 at 15:59:28 */ #include #include using namespace std; const int N = 102400; int main() { int n, c, p

2176.cpp

/* This Code is Submitted by wywcgs for Problem 2176 on 2006-03-21 at 13:51:05 */ #include #include using namespace std; const int MAX = 128; int main() { int i, j,

2293.cpp

/* This Code is Submitted by wywcgs for Problem 2293 on 2006-07-25 at 20:41:09 */ #include #include using namespace std; const int S = 1

2303.cpp

/* This Code is Submitted by wywcgs for Problem 2303 on 2006-08-02 at 22:49:03 */ #include #include using namespace std; typedef long long int64; int main() { int n,

1549.cpp

/* This Code is Submitted by wywcgs for Problem 1549 on 2006-01-12 at 12:51:43 */ #include #include using namespace std; typedef unsigned int uint; const uint DAY = 43200