Run ID:124733

提交时间:2025-07-12 11:54:48

#include <iostream> using namespace std; int main(){ int s; char c; c=getchar(); s=int (c); if(s-1>=32&&s-1<=){ cout<<s-1<<endl; }else{ cout<<"Input Error!"<<endl; } if(s-1>=32&&s-1<=){ cout<<s+1<<endl; }else{ cout<<"Input Error!"<<endl; } return 0; }