Time Exceeded

/in/foo.cc: In function 'void dfs(int, int, int)':
/in/foo.cc:12:20: warning: iteration 4 invokes undefined behavior [-Waggressive-loop-optimizations]
   int nx=x+dir[i][0],ny=y+dir[i][1];
            ~~~~~~~~^
/in/foo.cc:11:15: note: within this loop
  for(int i=0;i<=4;i++){
              ~^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 412.0 KiB
#2 Accepted 1ms 380.0 KiB
#3 Wrong Answer 23ms 416.0 KiB
#4 Time Exceeded ≥1000ms ≥464.0 KiB
#5 Wrong Answer 3ms 356.0 KiB
#6 Time Exceeded ≥1001ms ≥360.0 KiB
#7 Time Exceeded ≥1002ms ≥360.0 KiB
#8 Time Exceeded ≥1003ms ≥356.0 KiB
#9 Time Exceeded ≥1001ms ≥360.0 KiB
#10 Time Exceeded ≥1005ms ≥356.0 KiB

信息

递交者
类型
递交
比赛
2024.7.23暑期高级1班练习
语言
C++
递交时间
2024-07-24 14:15:38
评测时间
2024-07-24 14:15:38
评测机
分数
20
总耗时
≥6046ms
峰值内存
≥464.0 KiB