第一题: int main() { int c; cin >> c; while (c--) { int n, m; cin >> n >> m; vector<string> v(n, string(n, ' ')); for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { cin >> v[i][j]...