#193. NOIP2014PJ-25
NOIP2014PJ-25
- (阅读程序写结果)
#include <iostream>
#include <string>
using namespace std;
int main()
{
string st;
int i, len;
getline(cin, st);
len = st.size();
for(i = 0; i < len; i++)
if(st[i] >= 'a' && st[i] <= 'z')
st[i] = st[i] - 'a' + 'A';
cout << st << endl;
return 0;
}
输入:
Hello, my name is Lostmonkey.
输出:{{ input(1) }}