/ ITcode /

记录详情

Runtime Error

/in/foo.cc: In function 'void dfs(TreeNode&, TreeNode&, int&)':
/in/foo.cc:26:42: warning: self-comparison always evaluates to true [-Wtautological-compare]
  if(n0.r == n1.r && n0.l == n1.l && n0.v == n0.v)
                                     ~~~~~^~~~~~~
/in/foo.cc: In function 'int comp(TreeNode*, TreeNode*)':
/in/foo.cc:39:6: warning: unused variable 'eq' [-Wunused-variable]
  int eq = 0;
      ^~
/in/foo.cc:42:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 216.0 KiB
#2 Accepted 1ms 228.0 KiB
#3 Wrong Answer 1ms 220.0 KiB
#4 Wrong Answer 1ms 228.0 KiB
#5 Wrong Answer 1ms 2.219 MiB
#6 Wrong Answer 1ms 224.0 KiB
#7 Wrong Answer 1ms 224.0 KiB
#8 Wrong Answer 1ms 228.0 KiB
#9 Time Exceeded ≥1001ms ≥1.742 MiB
#10 Time Exceeded ≥1001ms ≥1.684 MiB
#11 Time Exceeded ≥1000ms ≥2.301 MiB
#12 Time Exceeded ≥1002ms ≥1.711 MiB
#13 Time Exceeded ≥1000ms ≥1.098 MiB
#14 Time Exceeded ≥1001ms ≥1.125 MiB
#15 Time Exceeded ≥1001ms ≥1.07 MiB
#16 Time Exceeded ≥1000ms ≥2.555 MiB
#17 Runtime Error 96ms 2.574 MiB
#18 Runtime Error 96ms 2.574 MiB
#19 Runtime Error 96ms 2.543 MiB
#20 Runtime Error 96ms 2.574 MiB
#21 Runtime Error 22ms 1.438 MiB
#22 Runtime Error 21ms 1.449 MiB
#23 Runtime Error 21ms 1.449 MiB
#24 Runtime Error 21ms 1.449 MiB
#25 Runtime Error 21ms 1.34 MiB

信息

递交者
类型
递交
题目
P1004 对称二叉树
语言
C++
递交时间
2019-07-30 17:46:47
评测时间
2019-07-30 17:48:46
评测机
分数
4
总耗时
8517ms
峰值内存
2.574 MiB