| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 123812 | 范恒恺 | 12输出英文字母 | C++ | Compile Error | 0 MS | 0 KB | 169 | 2025-07-10 12:15:48 |
#include<iostream> using namespace syd; int main(){ for(char a='a';a<='z';a++){ cout<<a<<" "; } cout<<endl; } for(char a='Z';a>='A';a--){ cout<<a<<" "; }
Main.cc:2:17: error: 'syd' is not a namespace-name
using namespace syd;
^
Main.cc:2:20: error: expected namespace-name before ';' token
using namespace syd;
^
Main.cc: In function 'int main()':
Main.cc:5:3: error: 'cout' was not declared in this scope
cout<& __os)
^
Main.cc: At global scope:
Main.cc:9:1: error: expected unqualified-id before 'for'
for(char a='Z';a>='A';a--){
^
Main.cc:9:16: error: 'a' does not name a type
for(char a='Z';a>='A';a--){
^
Main.cc:9:23: error: 'a' does not name a type
for(char a='Z';a>='A';a--){
^