#include<bits/stdc++.h> using namespace std; string str = ""; int main(){ int n; cin >> n; for(int i = 0 ;i < n ;i++){ char c = 'A' + i; str = str + c + str; } cout << str; return 0; }
就是不断翻折
By signing up a 追梦算法网 universal account, you can submit code and join discussions in all online judging services provided by us.
Using your 追梦算法网 universal account