Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
154292 张皓凯 12输出英文字母 C++ Compile Error 0 MS 0 KB 220 2026-05-30 09:48:44

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() { for(char i='a';i<='z';i++) { cout<<i<<endl; } for(char x='Z';i>='A';x--) { cout<<x<<endl; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:9:20: error: 'i' was not declared in this scope
     for(char x='Z';i>='A';x--)
                    ^