3 solutions

  • 1
    @ 2025-8-20 14:52:17
    #include<bits/stdc++.h>
    using namespace std;
    int arr[30];
    char s[30];
    int main(){
    	for(int i=1;i<=26;i++){
    		cin>>arr[i];
    		s[i]=char(arr[i]+'a'-1);
    	}
    	for(int i=1;i<=26;i++){
    		cout<<s[i];
    	}
    	return 0;
    }
    
    
    • 0
      @ 2026-7-24 10:17:53

      #include<bits/stdc++.h> using namespace std; int arr[1010]; char s[1010]; int main() { for(int i=1;i<=26;i++) { cin>>arr[i]; s[i]=char(arr[i]+'a'-1); } for(int i=1;i<=26;i++) { cout<<s[i]; } return 0; }

      • 0
        @ 2026-6-13 16:05:44
        #include<bits/stdc++.h>
        using namespace std;
        int main()
        {
        	string s;
            while(cin>>s){
                int ans=0;
                for(int j=0;j<s.size();j++){
                    ans=ans*10+(s[j]-'0');
                }
                cout<<char('a'+(ans-1));
                
            }
        	return 0;
        }
        
        • 1

        Information

        ID
        2392
        Time
        1000ms
        Memory
        256MiB
        Difficulty
        1
        Tags
        (None)
        # Submissions
        41
        Accepted
        20
        Uploaded By