南阳273

 1 #include<stdio.h>
 2 char s[205];
 3 int main()
 4 {
 5     int n,temp,i;
 6     scanf("%d",&n);
 7     while(n--)
 8     {
 9         scanf("%s",s);
10         for(i=temp=0; s[i]; ++i)
11             if(s[i]>='a' && s[i]<='z')
12                 ++temp;
13         temp%=26;
14         if(temp)
15             printf("%c
",temp+'a'-1);
16         else
17             puts("z");
18     }
19 }
原文地址:https://www.cnblogs.com/qq188380780/p/6285450.html