标签:ibm lin namespace ref main targe cto line display
1 #include <iostream> 2 #include <string> 3 #include <vector> 4 using namespace std; 5 6 int main() 7 { 8 int n,i,j; 9 string s; 10 cin>>n; 11 12 for(i=1;i<=n;i++) 13 { 14 cin>>s; 15 cout<<"String #"<<i<<endl; 16 for (j=0;j!=s.size();j++) 17 { 18 if(s[j]<90 && s[j]>=65) 19 { 20 cout<<++s[j]; 21 } 22 if(s[j]==90) 23 { 24 cout<<‘A‘; 25 } 26 } 27 cout<<endl<<endl; 28 } 29 return 0; 30 }
ZOJ:1240
标签:ibm lin namespace ref main targe cto line display
原文地址:http://www.cnblogs.com/domen0814/p/6806490.html