#include <iostream>
#include <string>
void toUpper( std::string &name )
{
for( int i = 0; name[i]; ++i )
if( name[i] >= 'a' && name[i] <= 'z' )
name[i] -= ' ';
}
int main()
{
std::string str = "Ideone is an online compiler and debugging tool"
"which allows you to compile source code and execute it online in"
" more than 60 programming languages.";
toUpper( str );
std::cout << str << std::endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgoKdm9pZCB0b1VwcGVyKCBzdGQ6OnN0cmluZyAmbmFtZSApCnsKCWZvciggaW50IGkgPSAwOyBuYW1lW2ldOyArK2kgKQogICAgaWYoIG5hbWVbaV0gPj0gJ2EnICYmIG5hbWVbaV0gPD0gJ3onICkKICAgICAgICBuYW1lW2ldIC09ICcgJzsKfQoKaW50IG1haW4oKQp7CglzdGQ6OnN0cmluZyBzdHIgPSAiSWRlb25lIGlzIGFuIG9ubGluZSBjb21waWxlciBhbmQgZGVidWdnaW5nIHRvb2wiCgkid2hpY2ggYWxsb3dzIHlvdSB0byBjb21waWxlIHNvdXJjZSBjb2RlIGFuZCBleGVjdXRlIGl0IG9ubGluZSBpbiIKCSIgbW9yZSB0aGFuIDYwIHByb2dyYW1taW5nIGxhbmd1YWdlcy4iOwoJdG9VcHBlciggc3RyICk7CgkKCXN0ZDo6Y291dCA8PCBzdHIgPDwgc3RkOjplbmRsOwoJcmV0dXJuIDA7Cn0=