/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:22:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:25: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 1ms 384.0 KiB
#3 Accepted 620ms 420.0 KiB
#4 Time Exceeded ≥1452ms ≥384.0 KiB
#5 Time Exceeded ≥1456ms ≥384.0 KiB
#6 Time Exceeded ≥1452ms ≥592.0 KiB
#7 Time Exceeded ≥1433ms ≥728.0 KiB
#8 Time Exceeded ≥1440ms ≥724.0 KiB
#9 Time Exceeded ≥1449ms ≥652.0 KiB
#10 Time Exceeded ≥1308ms ≥628.0 KiB

信息

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