| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 165418 | 周邓钰 | 09判断ASCLL码 | C++ | Compile Error | 0 MS | 0 KB | 516 | 2026-11-15 14:03:26 |
#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; }
Main.cc: In function 'int main()':
Main.cc:12:13: error: 'a' was not declared in this scope
else if(a<=n&&<=z){
^
Main.cc:12:19: error: expected primary-expression before '<=' token
else if(a<=n&&<=z){
^
Main.cc:12:21: error: 'z' was not declared in this scope
else if(a<=n&&<=z){
^
Main.cc:18:16: error: 'other' was not declared in this scope
else cout<