1 #include<iostream>
 2 #include<cstring>
 3 using namespace std;
 4 int main()
 5 {
 6     char *p,s[201];
 7     while(cin.getline(s,100),strcmp(s,"ENDOFINPUT"))
 8     {
 9         if(!strcmp(s,"START")) continue;
10         else if(!strcmp(s,"END")) continue;
11         else{
12             for(p=s;*p;p++)
13                 if(isupper(*p)) *p=(*p-44)%26+'A';
14             cout<<s<<endl;
15         }
16     }
17     return 0;
18 }

 

相关文章:

  • 2022-12-23
  • 2021-06-13
  • 2021-12-09
  • 2021-09-25
  • 2022-03-02
  • 2022-12-23
  • 2022-12-23
  • 2021-05-17
猜你喜欢
  • 2022-12-23
  • 2021-08-05
  • 2021-06-06
  • 2021-07-03
  • 2021-09-22
  • 2022-12-23
  • 2021-10-09
相关资源
相似解决方案