Run ID:110519
提交时间:2025-02-22 11:15:16
#include<bits/stdc++.h> using namespace std; int main(){ int b,c; char a; a=cin.get(); b=a-1; c=a+1; if(b>=32&&b<=126){ cout<<b<<endl; } else{ cout<<"Input Error!"<<endl; } if(c>=32&&c<=126){ cout<<c<<endl; } else{ cout<<"Input Error!"<<endl; } }