Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
90619 秦浩然 08大小写转换 C++ Accepted 1 MS 272 KB 290 2024-09-16 10:26:04

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); } return 0; }