Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
5069 | A班-许锘林 | 大小写转换 | C++ | Accepted | 100 | 1 MS | 276 KB | 235 | 2025-01-20 15:41:38 |
#include <bits/stdc++.h> using namespace std; int main() { char a; cin>>a; if(a >= 'A' && a <= 'Z') { char e = a + 32; cout<<e; } else if(a >= 'a' && a <= 'z') { char e = a - 32; cout<<e; } return 0; }