Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
124732 范恒恺 字符的前导值和后继值 C++ Wrong Answer 1 MS 268 KB 254 2025-07-12 11:53:44

Tests(0/10):


Code:

#include<iostream> using namespace std; int main() { char sb; int b,c; cin.get(sb); b-sb-1; c=sb+1; if(b>=32&&b<=126){ cout<<b<<endl; }else{ cout<<"Input Error!"; } if(c>=32&&c<=126){ cout<<c; }else{ cout<<"Input Error!"; } }


Run Info:

------Input------
[
------Answer-----
90 92
------Your output-----
Input Error!92