22 条题解
- 
  -2
/***************************************** 备注: ******************************************/ #include #include <math.h> #include #include <stdio.h> #include #include #include #include <string.h> #include using namespace std; #define LL long long const int N = 1e5 + 10; const int INF = 0x3f3f3f3f; int a[N];
int main() {
string a; getline(cin,a); int x=a.size(); for(int j=0;j<x;j++) { if(a[j]<91&&a[j]>='A') { a[j]+=32; }else if(a[j]<='z'&&a[j]>='a') a[j]-=32; cout<<char(a[j]); }}
 
信息
- ID
 - 1092
 - 时间
 - 1000ms
 - 内存
 - 128MiB
 - 难度
 - 6
 - 标签
 - 递交数
 - 939
 - 已通过
 - 325
 - 上传者