Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
121634 张暄浩 08大小写转换 C++ Compile Error 0 MS 0 KB 201 2025-06-07 18:29:27

Tests(0/0):


Code:

#include<iostream> #include<cstdio> using namespace std; int main(){ char x; cin>>x; if(x>=65)&&(x<=90)){ x=x+32; }else{ x=x-32; cout<<x; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:15: error: expected identifier before '(' token
    if(x>=65)&&(x<=90)){ 
               ^
Main.cc:14:4: error: expected '}' at end of input
    }
    ^