| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 150104 | 张蔚林 | 09判断ASCLL码 | C++ | Compile Error | 0 MS | 0 KB | 281 | 2026-03-22 11:27:33 |
#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; }
Main.cc: In function 'int main()':
Main.cc:6:7: error: expected primary-expression before ';' token
cin>>;
^
Main.cc:18:2: error: expected ';' before '}' token
}
^