记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:24: error: expected ')' before ';' token
  for(int i=a; i<=b; i++;)
                        ^
/in/foo.cc:7:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=a; i<=b; i++;)
  ^~~
/in/foo.cc:7:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(int i=a; i<=b; i++;)
                         ^
/in/foo.cc:7:25: error: expected primary-expression before ')' token

信息

递交者
类型
递交
题目
P1209 C3 互质数的对数
比赛
2020苏青奥赛集训营(2021-1-30课堂小练)
语言
C++
递交时间
2021-01-30 12:32:56
评测时间
2021-01-30 12:32:56
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes