/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void write(int, int)':
/in/foo.cc:9:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   printf("%d ",deci[l][r]);
                          ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:28:16: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   scanf("%d",&n);
                ^
/in/foo.cc:29:48: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   for (R int i=1;i<=n;++i) scanf("%d",&score[i]);
                                                ^
/in/foo.cc:31:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   printf("%d\n",ans[1][n]);
                          ^
# 状态 耗时 内存占用
#1 Accepted 2ms 340.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Accepted 3ms 336.0 KiB
#4 Accepted 3ms 336.0 KiB
#5 Accepted 3ms 256.0 KiB

信息

递交者
类型
递交
题目
P1100 加分二叉树
语言
C++
递交时间
2017-07-01 14:38:02
评测时间
2017-07-01 14:38:02
评测机
分数
100
总耗时
15ms
峰值内存
384.0 KiB