- 柳泉中学提升班练习赛(字符串)
菜蛋通道(菜蛋宝子可以借鉴)
- @ 2025-12-16 17:38:55
#include #include #include // for toupper using namespace std;
int main() { string s; cin >> s; for (char &c : s) { if (c >= 'a' && c <= 'z') { c = toupper(c); } } cout << s << endl; return 0; }
0 comments
No comments so far...