2012年11月10日

SGU-302. BHTML 1.0

摘要: #include #include #include using namespace std; stack zhan; int main () { string s1, s2; while(cin>>s1) { s2.clear(); for(int i = 0; i ='A'&&s1[i]='a'&&s1[i]<='z')?0:32)); } } cout<<s2<<endl; } return 0; } 思路较简单,不做多余解释》 阅读全文
posted @ 2012-11-10 21:52 Primo... 阅读(111) 评论(0) 推荐(0)