Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
150105 张蔚林 09判断ASCLL码 C++ Compile Error 0 MS 0 KB 282 2026-03-22 11:28:35

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() { char o; cin>>; if(o<='Z'&&o>='A'){ cout<<"Upper Letter"; } else if(o<='z'&&o>='a'){ cout<<"Lower Letter"; } else if(o<='9'&&o>='0'){ cout<<"Digital"; } else{ cout<<"other"; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:7: error: expected primary-expression before ';' token
  cin>>;
       ^