/ Vijos /

记录详情

Runtime Error

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 Runtime Error Segmentation fault 7ms 992.0 KiB
#2 Runtime Error Segmentation fault 2ms 704.0 KiB
#3 Runtime Error Segmentation fault 5ms 876.0 KiB
#4 Accepted 5ms 644.0 KiB
#5 Runtime Error Segmentation fault 6ms 856.0 KiB
#6 Accepted 4ms 704.0 KiB
#7 Runtime Error Segmentation fault 2ms 556.0 KiB
#8 Runtime Error Segmentation fault 6ms 816.0 KiB
#9 Runtime Error Segmentation fault 3ms 676.0 KiB
#10 Runtime Error Segmentation fault 6ms 980.0 KiB

信息

递交者
类型
递交
题目
P1011 清帝之惑之顺治
语言
C++
递交时间
2021-10-02 16:50:40
评测时间
2021-10-02 16:50:41
评测机
分数
20
总耗时
52ms
峰值内存
992.0 KiB