| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 154799 | 吴梓滔 | 12输出英文字母 | C++ | Compile Error | 0 MS | 0 KB | 7671 | 2026-05-31 09:25:58 |
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> usingnamespacestd; intmain(){ chari; for(i='a';i<='z';i++) cout<<i<<" "; cout<<endl; for(i='Z';i>='A';i--) cout<<i<<" "; return0; }
Main.cc:760:1: error: 'usingnamespacestd' does not name a type
usingnamespacestd;
^
Main.cc:811:9: error: ISO C++ forbids declaration of 'intmain' with no type [-fpermissive]
intmain(){
^
Main.cc: In function 'int intmain()':
Main.cc:931:5: error: 'chari' was not declared in this scope
chari;
^
Main.cc:963:9: error: 'i' was not declared in this scope
for(i='a';i<='z';i++)
^
Main.cc:1041:9: error: 'cout' was not declared in this scope
cout<& __os)
^
Main.cc:1209:9: error: 'i' was not declared in this scope
for(i='Z';i>='A';i--)
^
Main.cc:1515:5: error: 'return0' was not declared in this scope
return0;
^
Main.cc:1600:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^