/ Vijos /

记录详情

Accepted

foo.cc: In function 'int dfs(int, int, int)':
foo.cc:24:6: warning: unused variable 'w' [-Wunused-variable]
  int w=0,t=0,num=len;
      ^
foo.cc:24:10: warning: unused variable 't' [-Wunused-variable]
  int w=0,t=0,num=len;
          ^
foo.cc: In function 'int main()':
foo.cc:47:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=n;i++)
  ^~~
foo.cc:55:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    cout<<ans;
    ^~~~
foo.cc:43:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%lld %lld",&n,&m);
  ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:46:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
      scanf("%lld",&a[i][j]);
      ~~~~~^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 54ms 6.906 MiB
#2 Accepted 14ms 5.691 MiB
#3 Accepted 17ms 2.672 MiB
#4 Accepted 5ms 1.441 MiB
#5 Accepted 35ms 4.887 MiB
#6 Accepted 5ms 1.301 MiB
#7 Accepted 6ms 2.742 MiB
#8 Accepted 24ms 3.434 MiB
#9 Accepted 8ms 2.898 MiB
#10 Accepted 26ms 6.676 MiB

信息

递交者
类型
递交
题目
P1011 清帝之惑之顺治
语言
C++
递交时间
2021-10-02 16:52:19
评测时间
2021-10-02 16:52:19
评测机
分数
100
总耗时
199ms
峰值内存
6.906 MiB