foo.cc: In function 'void solve()':
foo.cc:69:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(a[i][j] != L[x]) continue; if(used[x]) continue;
^~
foo.cc:69:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(a[i][j] != L[x]) continue; if(used[x]) continue;
^~
foo.cc:85:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(j == m && npr) continue; if(i == n && npd) continue;
^~
foo.cc:85:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(j == m && npr) continue; if(i == n && npd) continue;
^~
foo.cc: In function 'int main()':
foo.cc:107:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
~~~~~^~~~~~~~~~~~~~~~
foo.cc:108:63: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; i++) for(int j = 1; j <= m; j++) scanf("%d", &a[i][j]);
~~~~~^~~~~~~~~~~~~~~~
foo.cc:109:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n * m; i++) scanf("%d", &L[i]);
~~~~~^~~~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-16T06:57:37.019Z","handle":"2020-07-16T06:57:37.019Z","cache_start":"2020-07-16T06:57:37.026Z","read_cases":"2020-07-16T06:57:37.443Z","judge":"2020-07-16T06:57:37.444Z","done":"2020-07-16T06:57:40.911Z"}