4 solutions

  • 2
    @ 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;
    }
    
    
    • 1
      @ 2026-11-8 9:41:50
      #include<bits/stdc++.h>
      using namespace std;
      int a[300];
      int main(){
      
      	for(int i=1;i<=26;i++) cin>>a[i];
          for(int i=1;i<=26;i++){
              char c='a'+a[i]-1;
              cout<<c;
          }
          
      	return 0;
      }
      
      • 1
        @ 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
          @ 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; }

          • 1

          Information

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