Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
150214 胡誉骞 12for循环练习II C++ Compile Error 0 MS 0 KB 113 2026-03-23 17:16:29

Tests(0/0):


Code:

using namespace std; int main(){ int j,i,n; cin>>i>>j; for(int n=i;n<=j;n++){ cout<<n<<endl; } }


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:2: error: 'cin' was not declared in this scope
  cin>>i>>j;
  ^
Main.cc:6:4: error: 'cout' was not declared in this scope
    cout<