/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:24:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:27:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d",&a[i][j]);
    ~~~~~^~~~~~~~~~~~~~~
foo.cc: In function 'void dfs(int, int)':
foo.cc:16:40: warning: 'yy2' may be used uninitialized in this function [-Wmaybe-uninitialized]
   f[q][p]=f[q][x]+(abs(xx1-xx2)+abs(yy1-yy2))*(abs(xx1-xx2)+abs(yy1-yy2));
                                     ~~~^~~~
foo.cc:16:40: warning: 'yy1' may be used uninitialized in this function [-Wmaybe-uninitialized]
foo.cc:16:27: warning: 'xx2' may be used uninitialized in this function [-Wmaybe-uninitialized]
   f[q][p]=f[q][x]+(abs(xx1-xx2)+abs(yy1-yy2))*(abs(xx1-xx2)+abs(yy1-yy2));
                        ~~~^~~~
foo.cc:16:27: warning: 'xx1' may be used uninitialized in this function [-Wmaybe-uninitialized]
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 648ms 408.0 KiB
#4 Time Exceeded ≥1451ms ≥364.0 KiB
#5 Time Exceeded ≥1451ms ≥428.0 KiB
#6 Time Exceeded ≥1453ms ≥580.0 KiB
#7 Time Exceeded ≥1454ms ≥636.0 KiB
#8 Time Exceeded ≥1449ms ≥720.0 KiB
#9 Time Exceeded ≥1450ms ≥700.0 KiB
#10 Time Exceeded ≥1278ms ≥640.0 KiB

信息

递交者
类型
递交
题目
P1474 雷曼兔(csapc)
语言
C++
递交时间
2021-05-16 14:31:23
评测时间
2021-05-16 14:31:23
评测机
分数
30
总耗时
≥10643ms
峰值内存
≥720.0 KiB