Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
40954 Andrew宥杨 字符大小写转换 C++ 通过 0 MS 252 KB 196 2024-02-18 11:42:26

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ string s; cin>>s; for(int i=0;i<s.size();i++){ if(s[i]<='Z')cout<<char(s[i]+32); else cout<<char(s[i]-32); } return 0; }


测评信息: