Run ID:113313

提交时间:2025-03-15 17:31:40

#include <bits/stdc++.h> using namespace std; int main() { char s; cin>>s; char t=s-1; char r=s+1; if(t<=31){ cout<<"Input Error!"<<'\n'; } else{ cout<<int(t)<<'\n'; } if(r>=127){ cout<<"Input Error!"<<'\n'; } else{ cout<<int(s)<<'\n'; } return 0; }