Run ID:153192
提交时间:2026-05-10 11:39:53
#include<bits/stdc++.h> using namespace std; int main(){ char b; cin.get(b); if(b-1>126||b-1<32){ cout<<"Input Error!"<<endl; } else { cout<<b-1<<endl; } if(b+1>126||b+1<32){ cout<<"Input Error!"<<endl; } else { cout<<b+1<<endl; } return 0; }