/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:29:15: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[8]' [-Wformat=]
  scanf("%s",&a);scanf("%s",&b);
               ^
/in/foo.cc:29:30: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[8]' [-Wformat=]
  scanf("%s",&a);scanf("%s",&b);
                              ^
/in/foo.cc:32:11: warning: 'num' is used uninitialized in this function [-Wuninitialized]
   if(a[num]==0)
      ~~~~~^
# 状态 耗时 内存占用
#1 Accepted 2ms 372.0 KiB
#2 Accepted 2ms 212.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 1ms 360.0 KiB
#5 Wrong Answer 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1132 求二叉树的先序序列
语言
C++
递交时间
2018-08-22 13:18:56
评测时间
2018-08-22 13:18:56
评测机
分数
40
总耗时
13ms
峰值内存
384.0 KiB