/ new_bzoj /

记录详情

Accepted

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"}
# 状态 耗时 内存占用
#1 Accepted 87ms 80.426 MiB
#2 Accepted 788ms 80.488 MiB
#3 Accepted 713ms 80.492 MiB
#4 Accepted 45ms 80.488 MiB
#5 Accepted 52ms 80.484 MiB
#6 Accepted 45ms 80.484 MiB
#7 Accepted 53ms 80.488 MiB
#8 Accepted 43ms 80.484 MiB
#9 Accepted 113ms 80.488 MiB
#10 Accepted 105ms 80.488 MiB

信息

递交者
类型
递交
题目
旅行路线
语言
C++
递交时间
2020-07-16 14:57:36
评测时间
2020-07-16 14:57:37
评测机
分数
100
总耗时
2048ms
峰值内存
80.492 MiB