Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
165419 周邓钰 09判断ASCLL码 C++ Compile Error 0 MS 0 KB 520 2026-11-15 14:04:40

Tests(0/0):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ char n; cin>>n; if('A'<=n&&'z'<=n){ cout<<"Uqqer letter"<<endl; } else if('a'<=n&&<='z'){ cout<<"lower letter"<<endl; } else if('0'<=n&&'9'<=n){ cout<<"Digital"<<endl; } else cout<<other; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:12:21: error: expected primary-expression before '<=' token
     else if('a'<=n&&<='z'){
                     ^
Main.cc:18:16: error: 'other' was not declared in this scope
     else cout<