1 solutions

  • 0
    @ 2023-12-22 14:39:08
    #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;
    }
    

    就是不断翻折

    Information

    ID
    1831
    Time
    1000ms
    Memory
    512MiB
    Difficulty
    10
    Tags
    # Submissions
    1
    Accepted
    1
    Uploaded By