摘要:
#include #include #include using std::cin; using std::cout; using std::endl; using std::string; void next(string & str,int n,string * store,int &m); void swap(string & str,int location1,int location... 阅读全文
摘要:
//#include #include #include using namespace std; int N; // 1 tree[maxn + 5]; // tree[i]表示节点i的相邻节点 int d[maxn + 5]; // d[i]表示以i为根的子树的节点个数 #define ... 阅读全文
摘要:
Period POJ 1961 阅读全文
摘要:
A. Example Input 91 3 3 6 7 6 8 8 9Output 4 1 #include <iostream> 2 3 using namespace std; 4 5 int main () { 6 int n; 7 cin >> n; 8 int a[10010]; 9 fo 阅读全文