| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 89497 | sh25_zhangyj | 字符大小写转换 | C++ | Accepted | 0 MS | 240 KB | 261 | 2026-06-05 14:30:40 |
#include<bits/stdc++.h> using namespace std; int main(){ string s; getline(cin,s); for(int i=0;i<s.size();++i){ if(s[i]>='a'&&s[i]<='z') s[i]-=32; else s[i]+=32; cout<<static_cast<char>(s[i]); } return 0; }