Run ID:158989
提交时间:2026-08-24 13:24:55
#include <bits/stdc++.h> using namespace std; int main() { int T; cin>>T; while(T--){ string s; cin>>s; for (int i=0;i<s.size();i++){ char c=tolower(s[i]); if (c=='a' || c=='o' || c=='e' || c=='i' || c=='u'){ s[i]=toupper(c); } else{ s[i]=tolower(c); } } cout<<s<<"\n"; } return 0; }