Compile Error

foo.cc: In function 'int main()':
foo.cc:19:17: error: expected primary-expression before ')' token
     for(month=1;)
                 ^
foo.cc:19:17: error: expected ';' before ')' token
foo.cc:19:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(month=1;)
     ^~~
foo.cc:21:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  return 0;
  ^~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1094 打印月历
语言
C++
递交时间
2021-08-10 09:37:44
评测时间
2021-08-10 09:37:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes