Run ID:94847
提交时间:2024-10-26 14:48:45
#include <bits/stdc++.h> using namespace std; int main(){ char b =cin.get(); //cout<<b; if(b-1<=126&&b-1>=32){ cout<<b-1<<endl; }else cout<<"Input Error!"<<endl; if(b+1<=126&&b+1>=32){ cout<<b+1<<endl; }else cout<<"Input Error!"<<endl; return 0; }