水题代码 #include <iostream> #include <cstring> using namespace std; int main(){ char c; while(cin >> c){ if(c>='a'){ c-=32; }else{ c+=32; } cout << c; } }