Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
134032 李昱龙 08大小写转换 C++ Accepted 1 MS 268 KB 235 2025-10-25 14:37:46

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ char a,b,c; b = 0; c = 0; cin>>a; if(int(a)>=97){ b = a-32; cout<<char(b)<<endl; }else if(int(a)>=65){ c = a+32; cout<<char(c)<<endl; } return 0; }