摘要:
#include<iostream> using namespace std; int main() { string s; int n; cin >> s >> n; while (n) { bool flag = false; for (int i = 0;i < s.size()-1;i ++ 阅读全文
摘要:
#include<iostream> #include<cmath> using namespace std; const int N = 11; int f[N][N]; int main() { int n; cin >> n; int dx[4] = {0, 1, 0, -1}, dy[4] 阅读全文