#include <iostream>
#include <string>
#include <vector>
#include <ctype.h>
int main() {
std::vector<std::string> words;
words.push_back("hello");
words.push_back("world");
for (auto& i: words) {
for (auto& j: i) {
j = toupper(j);
}
}
for (auto& i: words) {
std::cout << i << std::endl;
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8dmVjdG9yPgojaW5jbHVkZSA8Y3R5cGUuaD4KCmludCBtYWluKCkgewogICAgc3RkOjp2ZWN0b3I8c3RkOjpzdHJpbmc+IHdvcmRzOwogICAgd29yZHMucHVzaF9iYWNrKCJoZWxsbyIpOwogICAgd29yZHMucHVzaF9iYWNrKCJ3b3JsZCIpOwogICAgCiAgICBmb3IgKGF1dG8mIGk6IHdvcmRzKSB7CiAgICAgICAgZm9yIChhdXRvJiBqOiBpKSB7CiAgICAgICAgICAgIGogPSB0b3VwcGVyKGopOwogICAgICAgIH0KICAgIH0KICAgIAogICAgZm9yIChhdXRvJiBpOiB3b3JkcykgewogICAgICAgIHN0ZDo6Y291dCA8PCBpIDw8IHN0ZDo6ZW5kbDsKICAgIH0KfQo=