Compile Error

foo.cc: In function 'int main()':
foo.cc:7:10: warning: left operand of comma operator has no effect [-Wunused-value]
    7 | for(;xmin<=xmax,xmin++)
      |      ~~~~^~~~~~
foo.cc:7:23: error: expected ';' before ')' token
    7 | for(;xmin<=xmax,xmin++)
      |                       ^
      |                       ;
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1628 A2-1 循环结构入门:数列求和
语言
C++
递交时间
2022-04-09 18:52:50
评测时间
2022-04-09 18:52:50
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes