Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
101153 贾雨泽 12输出英文字母 C++ Compile Error 0 MS 0 KB 173 2024-12-14 15:15:41

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ for( a='a';a<='y';a++){ cout<<a<<" "; } cout<<endl; for( b='Z';b>='A';b=b-1){ cout<<b<<" "; } }


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:7: error: 'a' was not declared in this scope
  for( a='a';a<='y';a++){
       ^
Main.cc:8:7: error: 'b' was not declared in this scope
  for( b='Z';b>='A';b=b-1){
       ^