| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 148432 | 杨润东 | 12输出英文字母 | C++ | Compile Error | 0 MS | 0 KB | 403 | 2026-02-13 20:29:29 |
#include<iostream> //cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> //strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() usingnamespacestd; intmain(){ char i; for(i='a';i<='z';i++) cout<<i<<" "; cout<<endl; for(i='Z';i>='A';i--) cout<<i<<" "; return0; }
Main.cc:5:1: error: 'usingnamespacestd' does not name a type
usingnamespacestd;
^
Main.cc:6:9: error: ISO C++ forbids declaration of 'intmain' with no type [-fpermissive]
intmain(){
^
Main.cc: In function 'int intmain()':
Main.cc:9:9: error: 'cout' was not declared in this scope
cout<& __os)
^
Main.cc:14:5: error: 'return0' was not declared in this scope
return0;
^
Main.cc:15:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^