Run ID:88263

提交时间:2024-08-19 10:10:35

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