洛谷P5704字母转换 #include<iostream> using namespace std; int main() { char X; cin>>X; char ans =X+'A'-'a'; cout<<ans; } 欢迎关注讨论c++以及c语言的知识