| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 144588 | 王峻熙 | 字符转换 | C++ | Compile Error | 0 MS | 0 KB | 207 | 2026-01-24 14:15:23 |
#include<iostream> using namespace std; int main(){ int m; cin>>m; if('A'<=x&&x<='Z'){ cout<<"x+32"<<endl; } if('a'<=x&&x<='z'){ cout<<"x"<<endl; return 0; }
Main.cc: In function 'int main()':
Main.cc:6:13: error: 'x' was not declared in this scope
if('A'<=x&&x<='Z'){
^
Main.cc:9:13: error: 'x' was not declared in this scope
if('a'<=x&&x<='z'){
^
Main.cc:12:1: error: expected '}' at end of input
}
^