Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78779 黎贤超 12for循环练习II C++ Compile Error 0 MS 0 KB 153 2024-06-29 10:02:51

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int n , a; cin>>n>>a; for(int i=a;i<=;i++) { cout<<i<<endl; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:9:17: error: expected primary-expression before ';' token
  for(int i=a;i<=;i++)
                 ^