摘要:
#include<cstdio> #include<iostream> #include<cstring> using namespace std; int idx[105][105],m,n; char pic[105][105]; void dfs(int p, int q, int cnt) 阅读全文
摘要:
#include<cstdio> #include<iostream> using namespace std; #include<cstring> int s[1 << 20]; int main(void) { int t; while (cin >> t && t != -1) { int D 阅读全文
摘要:
递归排列#include<cstdio> #include<iostream> using namespace std; void print_permutation(int n, int a[], int cur) { if (cur == n) { for (int i = 0; i < 10; 阅读全文
摘要:
#include<cstdio> #include<iostream> using namespace std; #include<stack> #include<cstring> int a[10100000]; int main(void) { stack<int> s; int n; whil 阅读全文