Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
316744 陈弈诺 【C1-10】大写字母 C++ 解答错误 66 1 MS 244 KB 177 2025-04-11 19:13:56

Tests(2/3):


#include<iostream> using namespace std; int main(){ char a; cin>>a; if('A'<=a&&a<='Z'){ cout<<a-'A'+1; }else{ cout<<"NO"; } return 0; }


测评信息:

输入

                    

输出

                    

答案

                    

系统信息

exit code: 0, checker exit code: 0

输入

                    

输出

                    

答案

                    

系统信息

exit code: 0, checker exit code: 0

输入

t

输出

NO

答案

No

系统信息

exit code: 0, checker exit code: 0