| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 61180 | 黎瑾萱 | 字符的前导值和后继值 | C++ | Wrong Answer | 1 MS | 268 KB | 200 | 2023-12-02 17:14:58 |
#include<iostream> using namespace std; int main(){ char n; cin.get(n); if(n--<32||n++>126){ cout<<"Input Error!"; } else{ cout<<--n<<endl; ++n; cout<<++n; } return 0; }
------Input------
[
------Answer-----
90 92
------Your output-----
Z \