Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
165415 江俊逸 09判断ASCLL码 C++ Compile Error 0 MS 0 KB 539 2026-11-15 13:57:52

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 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; }


Run Info:

Main.cc:23:5: error: expected unqualified-id before 'return'
     return 0;
     ^
Main.cc:24:1: error: expected declaration before '}' token
 }
 ^