/ TYWZ /

记录详情

Wrong Answer

/in/foo.cc: In function 'void rebuild(std::__cxx11::string, std::__cxx11::string, int)':
/in/foo.cc:29:29: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
                  tree[n].l =NULL ;
                             ^~~~
/in/foo.cc:36:27: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
                 tree[n].r=NULL ;
                           ^~~~
/in/foo.cc: In function 'void jds(int)':
/in/foo.cc:44:17: warning: NULL used in arithmetic [-Wpointer-arith]
  if (tree[n].l==NULL&&tree[n].r==NULL)                              
                 ^~~~
/in/foo.cc:44:34: warning: NULL used in arithmetic [-Wpointer-arith]
  if (tree[n].l==NULL&&tree[n].r==NULL)                              
                                  ^~~~
/in/foo.cc: In function 'void xxu(int)':
/in/foo.cc:58:17: warning: NULL used in arithmetic [-Wpointer-arith]
  if (tree[n].c==NULL)                              
                 ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:75:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=1;i<=pre.length();i++)
              ~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 344.0 KiB
#2 Wrong Answer 1ms 360.0 KiB
#3 Accepted 1ms 324.0 KiB
#4 Wrong Answer 1ms 328.0 KiB
#5 Wrong Answer 1ms 328.0 KiB

信息

递交者
类型
递交
题目
P1018 二叉树输出(btout)
语言
C++
递交时间
2021-09-22 20:19:43
评测时间
2021-09-22 20:19:43
评测机
分数
20
总耗时
8ms
峰值内存
360.0 KiB