| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 121633 | 张暄浩 | 08大小写转换 | C++ | Compile Error | 0 MS | 0 KB | 205 | 2025-06-07 18:26:50 |
#include<iostream> #include<cstdio> using namespace std; int main(){ char x; cin>>x; if(x>65==0)||(x<32==0)){ x=x+32; }else{ x=x-32; cout<<x; }
Main.cc: In function 'int main()':
Main.cc:8:8: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(x>65==0)||(x<32==0)){
^
Main.cc:8:15: error: expected primary-expression before '||' token
if(x>65==0)||(x<32==0)){
^
Main.cc:8:19: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(x>65==0)||(x<32==0)){
^
Main.cc:14:4: error: expected '}' at end of input
}
^