摘要:
其实就是求最长回文序列的长度m,然后答案=n-m;/********************LightOJ 1033Author:Cdegree********************/#include #include #include #include #include #include #include #include #include #include #include #include #include #define X first#define Y second#define sqr(x) (x)*(x)#pragma comment(linker,"/STACK:1 阅读全文
摘要:
/********************LightOJ 1032Author:Cdegree********************/#include #include #include #include #include #include #include #include #include #include #include #include #include #define X first#define Y second#define sqr(x) (x)*(x)#pragma comment(linker,"/STACK:102400000,102400000") 阅读全文
摘要:
/********************LightOJ 1031Author:Cdegree********************/#include #include #include #include #include #include #include #include #include #include #include #include #include #define X first#define Y second#define sqr(x) (x)*(x)#pragma comment(linker,"/STACK:102400000,102400000") 阅读全文
摘要:
/********************Author:Cdegree********************/#include #include #include #include #include #include #include #include #include #include #include #include #include #define X first#define Y second#define sqr(x) (x)*(x)#pragma comment(linker,"/STACK:102400000,102400000")using namesp 阅读全文
摘要:
平均访问时间为sum(t)/n,期望次数为n/n1#include #include #include #include #include #include #include #include #include #include #include #include #include #define X first#define Y second#define sqr(x) (x)*(x)#pragma comment(linker,"/STACK:102400000,102400000")using namespace std;const double PI = acos( 阅读全文
摘要:
#include #include #include #include #include #include #include #include #include #include #include #include #include #define X first#define Y second#define sqr(x) (x)*(x)#pragma comment(linker,"/STACK:102400000,102400000")using namespace std;const double PI = acos(-1.0);map::iterator it;ty 阅读全文
摘要:
#include #include #include #include #include #include #include #include #include #include #include #include #include #define X first#define Y second#define sqr(x) (x)*(x)#pragma comment(linker,"/STACK:102400000,102400000")using namespace std;const double PI = acos(-1.0);map::iterator it;ty 阅读全文
摘要:
#include #include #include #include #include #include #include #include #include #include #include #include #include #define X first#define Y second#define sqr(x) (x)*(x)#pragma comment(linker,"/STACK:102400000,102400000")using namespace std;const double PI = acos(-1.0);map::iterator it;ty 阅读全文
摘要:
#include #include #include #include #include #include #include #include #include #include #include #include #include #define X first#define Y second#define sqr(x) (x)*(x)#pragma comment(linker,"/STACK:102400000,102400000")using namespace std;const double PI = acos(-1.0);map::iterator it;ty 阅读全文
摘要:
#include #include #include #include #include #include #include #include #include #include #include #include #include #define X first#define Y second#define sqr(x) (x)*(x)#pragma comment(linker,"/STACK:102400000,102400000")using namespace std;const double PI = acos(-1.0);map::iterator it;ty 阅读全文
摘要:
#include #include #include #include #include #include #include #include #include #include #include #include #include #define X first#define Y second#define sqr(x) (x)*(x)#pragma comment(linker,"/STACK:102400000,102400000")using namespace std;const double PI = acos(-1.0);map::iterator it;ty 阅读全文
摘要:
#include #include #include #include #include #include #include #include #include #include #include #include #include #define X first#define Y second#define sqr(x) (x)*(x)#pragma comment(linker,"/STACK:102400000,102400000")using namespace std;const double PI = acos(-1.0);map::iterator it;ty 阅读全文
摘要:
#include #include #include #include #include #include #include #include #include #include #include #include #include #define X first#define Y second#define sqr(x) (x)*(x)#pragma comment(linker,"/STACK:102400000,102400000")using namespace std;const double PI = acos(-1.0);map::iterator it;ty 阅读全文
摘要:
#include #include #include #include #include #include #include #include #include #include #include #include #include #define X first#define Y second#define sqr(x) (x)*(x)#pragma comment(linker,"/STACK:102400000,102400000")using namespace std;const double PI = acos(-1.0);map::iterator it;ty 阅读全文