| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 133352 | 鄢晨曦 | 07大小写转换 | C++ | Compile Error | 0 MS | 0 KB | 217 | 2025-10-18 15:17:44 |
#include<bits/stdc++.h> using namespace std; int main(){ char a if(a==A){ cout<<a<<endl; } else{ cout<<A<<endl; } return 0; }
Main.cc: In function 'int main()':
Main.cc:5:4: error: expected initializer before 'if'
if(a==A){
^
Main.cc:9:4: error: 'else' without a previous 'if'
else{
^
Main.cc:10:11: error: 'A' was not declared in this scope
cout<