| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 165410 | 江俊逸 | 09判断ASCLL码 | C++ | Compile Error | 0 MS | 0 KB | 530 | 2026-11-15 13:44:25 |
#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 c; cin>>c; if('A'<=c && c>='Z'){ cout<<"Upper Ltter" } else if('a'<=c && c>='z'){ cout<<"Lower Ltter" } else if('0'<=c && c>='9'){ cout<<"Digital" } else{ cout<<"other" } return 0; }
Main.cc: In function 'int main()':
Main.cc:12:5: error: expected ';' before '}' token
}
^
Main.cc:15:5: error: expected ';' before '}' token
}
^
Main.cc:18:5: error: expected ';' before '}' token
}
^
Main.cc:21:5: error: expected ';' before '}' token
}
^