| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 137361 | gqj | 06字符后移 | C++ | Compile Error | 0 MS | 0 KB | 391 | 2025-11-17 16:20:43 |
#include<iostream> using namespace std; int main() { char a,b,c,d; cin>>a>>b>>c>>d; if(a=z){ cout<<char(a-25); }else{ cout<<char(a+1); } if(b=z){ cout<<char(b-25); }else{ cout<<char(b+1); if(c=z){ cout<<char(c-25); }else{ cout<<char(c+1); if(d=z){ cout<<char(d-25); }else{ cout<<char(d+1); }
Main.cc: In function 'int main()':
Main.cc:7:9: error: 'z' was not declared in this scope
if(a=z){
^
Main.cc:12:7: error: 'z' was not declared in this scope
if(b=z){
^
Main.cc:24:4: error: expected '}' at end of input
}
^
Main.cc:24:4: error: expected '}' at end of input
Main.cc:24:4: error: expected '}' at end of input