/ 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:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%d\n",dp[1][n]);
                        ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 356.0 KiB
#2 Wrong Answer 3ms 256.0 KiB
#3 Wrong Answer 2ms 324.0 KiB
#4 Wrong Answer 3ms 256.0 KiB
#5 Wrong Answer 2ms 344.0 KiB

信息

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