| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 81309 | 刘慕莀 | 字符类型 | C++ | Compile Error | 0 MS | 0 KB | 408 | 2024-07-12 11:33:13 |
#include<bits/stdc++.h> using namespace std; int main(){ cher a; cin<<a; if(a>='a'&&a<='z'){ if(a=='a'||a=='e'||a=='i'||a=='u'||a=='o'){ cout<<"Lower Vowel"; }else{ cout<<"Lower Letter"; } } if(a>='A'&&a<='Z'){ if(a=='A'||a=='E'||a=='I'||a=='U'||a=='O'){ cout<<"Upper Vowel"; }else{ cout<<"Upper Letter"; } } return 0; }
Main.cc: In function 'int main()':
Main.cc:4:5: error: 'cher' was not declared in this scope
cher a;
^
Main.cc:5:10: error: 'a' was not declared in this scope
cin<