摘要: #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... 阅读全文
posted @ 2019-03-23 23:18 LightAc 阅读(134) 评论(0) 推荐(0) 编辑
摘要: //#include #include #include using namespace std; int N; // 1 tree[maxn + 5]; // tree[i]表示节点i的相邻节点 int d[maxn + 5]; // d[i]表示以i为根的子树的节点个数 #define ... 阅读全文
posted @ 2019-03-23 20:00 LightAc 阅读(100) 评论(0) 推荐(0) 编辑
摘要: Period POJ 1961 阅读全文
posted @ 2019-03-23 18:08 LightAc 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2019-03-23 16:29 LightAc 阅读(229) 评论(0) 推荐(0) 编辑
返回顶端