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

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:10: error: expected ';' before 'a'
  for(a=a a<=j;a++)
          ^
Main.cc:6:18: error: expected ';' before ')' token
  for(a=a a<=j;a++)
                  ^