Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
132764 岑思烁 12for循环练习I C++ Compile Error 0 MS 0 KB 138 2025-10-12 11:57:52

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:13: error: expected primary-expression before ';' token
  for(a=1;a>=;a-=11){
             ^