Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
150182 yjh 12for循环练习I C++ Compile Error 0 MS 0 KB 116 2026-03-23 17:05:18

Tests(0/0):


Code:

#include <iostream> using namespace std; int main(){ for(int i=n;i>0;i=i-0){ cout<<i<<endl; } }


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:12: error: 'n' was not declared in this scope
  for(int i=n;i>0;i=i-0){
            ^