#include<bits/stdc++.h> using namespace std; int main(){ char c; int n; cin >> n; while(n--) cin >> c, cout << c << c; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int N; string S; cin >> N >> S; for (int i = 0; i < N; i++) { cout << S[i] << S[i]; } cout << endl; }
注册一个 oirush 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 oirush 通用账户