Run ID:124736

提交时间:2025-07-12 11:55:54

#include <iostream> using namespace std; int main(){ int s; char c; c=getchar(); if(c-1>=32&&c-1<=127){ cout<<c-1<<endl; }else{ cout<<"Input Error!"<<endl; } if(c-1>=32&&c-1<=127){ cout<<c+1<<endl; }else{ cout<<"Input Error!"<<endl; } return 0; }