#include using namespace std; int main(){ string s; cin>>s; int len=s.length(); for(int i=0;i<len;i++) if(s[i]>='a'&&s[i]<='z') s[i]=s[i]-'a'+'A'; cout<<s; }
By signing up a HFOJ universal account, you can submit code and join discussions in all online judging services provided by us.
Using your HFOJ universal account