Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
90615 蔡佳轩 08大小写转换 C++ Accepted 1 MS 272 KB 212 2024-09-16 10:24:22

Tests(10/10):


Code:

#include <iostream> using namespace std; int main(){ char c; cin>>c; if (c>='a' && c<='z'){ cout<<char(c-32); } else if (c>='A' && c<='Z'){ cout<<char(c+32); } }