>>657
日本語は勘弁。

#include <iostream>
#include <string>
#include <algorithm>
using namespace std;

void Toupper(char &c) {
c = toupper(c);
}

int main()
{
string str;

cin >> str;

for_each(str.begin(), str.end(), Toupper);

cout << str;
}