Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
112738 | 周宸宇 | 12输出英文字母 | C++ | Compile Error | 0 MS | 0 KB | 393 | 2025-03-10 21:50:37 |
#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() using namespace std; int main(){ char i,n; for(i=a;i<=z;i++){ cout<<i<<" "; } for(n=Z;n>=A;n=n+1){ cout<<i<<" "; } return 0; }
Main.cc: In function 'int main()': Main.cc:9:11: error: 'a' was not declared in this scope for(i=a;i<=z;i++){ ^ Main.cc:9:16: error: 'z' was not declared in this scope for(i=a;i<=z;i++){ ^ Main.cc:12:11: error: 'Z' was not declared in this scope for(n=Z;n>=A;n=n+1){ ^ Main.cc:12:16: error: 'A' was not declared in this scope for(n=Z;n>=A;n=n+1){ ^