Run ID:153611

提交时间:2026-05-23 13:48:35

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