Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
153177 孔声豪 字符的前导值和后继值 C++ Compile Error 0 MS 0 KB 186 2026-05-10 11:16:58

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ char a; cin>>a; if(a>=32||a<=126){ cout<<a+1<<endl; cout<<a-1; } else{ cout<<"Input Error!" } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:12:1: error: expected ';' before '}' token
 }
 ^