/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:27:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   27 |       for (int j=a;j<=m;j++)
      |       ^~~
foo.cc:34:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   34 |  ans=-1e9;
      |  ^~~
foo.cc:11:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   11 |  scanf("%lld%lld%lld%lld",&n,&m,&a,&b);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:14:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   14 |    for (int j=1;j<=m;j++) scanf("%lld",&g[i][j]);
      |                           ~~~~~^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 3ms 896.0 KiB
#3 Accepted 3ms 1.0 MiB
#4 Accepted 120ms 17.242 MiB
#5 Accepted 108ms 22.242 MiB
#6 Accepted 156ms 23.492 MiB
#7 Accepted 35ms 7.242 MiB
#8 Accepted 138ms 22.992 MiB
#9 Accepted 141ms 23.117 MiB
#10 Accepted 152ms 23.496 MiB

信息

递交者
类型
递交
题目
P1764 Dual Matrices
语言
C++
递交时间
2022-03-26 22:29:01
评测时间
2022-03-26 22:29:01
评测机
分数
100
总耗时
863ms
峰值内存
23.496 MiB