/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
  scanf("%d%d",&c,&n);
                    ^
/in/foo.cc:6:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
/in/foo.cc:7:37: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
  for (i=1;i<=n;i++) scanf("%d",&v[i]);
                                     ^
/in/foo.cc:10:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
  printf("%d",n-f[c]);
                    ^
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 496.0 KiB
#2 Wrong Answer 3ms 384.0 KiB
#3 Wrong Answer 3ms 456.0 KiB
#4 Wrong Answer 3ms 384.0 KiB
#5 Wrong Answer 5ms 384.0 KiB

信息

递交者
类型
递交
题目
P1133 装箱问题
语言
C++
递交时间
2018-04-15 17:27:27
评测时间
2018-04-15 17:27:27
评测机
分数
0
总耗时
19ms
峰值内存
496.0 KiB