记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:9:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    9 |     for (int i = 0; i < n; i++)
      |     ^~~
foo.cc:11:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   11 |         int flag = 0;
      |         ^~~
foo.cc:22:28: error: 'q' was not declared in this scope
   22 |                 if(flag == q)
      |                            ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1344 1A MEX
语言
C++
递交时间
2022-09-26 18:44:05
评测时间
2022-09-26 18:44:05
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes