Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
132802 傅小轩 12for循环练习II C++ Compile Error 0 MS 0 KB 158 2025-10-12 12:11:47

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int i,n; cin>>i>>n; for(i=i i>=n;i++) cout<<i<<" "; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:10: error: expected ';' before 'i'
  for(i=i i>=n;i++)
          ^
Main.cc:6:18: error: expected ';' before ')' token
  for(i=i i>=n;i++)
                  ^