/ Vijos /

记录详情

Accepted

/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 (*)[10]' [-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 (*)[10]' [-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 3ms 372.0 KiB
#2 Accepted 4ms 372.0 KiB
#3 Accepted 2ms 208.0 KiB
#4 Accepted 2ms 360.0 KiB
#5 Accepted 4ms 384.0 KiB

信息

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