/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void in()':
/in/foo.cc:7:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf("%I64d",&n);
                  ^
/in/foo.cc:9:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   scanf("%I64d",&val[i]);
                        ^
/in/foo.cc: In function 'void print(int, int)':
/in/foo.cc:28:44: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  if (root[l][r]) printf("%I64d ",root[l][r]);
                                            ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:35:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%I64d\n",dp[1][n]);
                           ^
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 256.0 KiB
#2 Wrong Answer 3ms 344.0 KiB
#3 Wrong Answer 3ms 332.0 KiB
#4 Wrong Answer 3ms 384.0 KiB
#5 Wrong Answer 3ms 348.0 KiB

信息

递交者
类型
递交
题目
P1100 加分二叉树
语言
C++
递交时间
2017-06-16 22:16:10
评测时间
2017-06-16 22:16:10
评测机
分数
0
总耗时
15ms
峰值内存
384.0 KiB