23 条题解

  • 0
    @ 2025-12-14 20:06:29
    #include<iostream>
    #include<cstdio>
    #include<cctype>
    #include<string.h>
    #include<math.h>
    #include<cmath>
    #include<algorithm>
    #include<iomanip>
    using namespace std;
    int main()
    {
    	char a;
    	cin>>a;
    	if(a>='A'&&a<='Z')
    	{
    		cout<<char(a+32);
    	} 
    	else if(a>='a'&&a<='z')
    	{
    		cout<<char(a-32);
    	}
    	else
    	{
    		cout<<a;
    	}
    	return 0;
    }
    
    
    

    信息

    ID
    853
    时间
    1000ms
    内存
    128MiB
    难度
    4
    标签
    递交数
    1131
    已通过
    531
    上传者