/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:41: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  for (int i=1;i<=n;i++){scanf("%d",&a[i]);a[n+i]=a[i];}
                                         ^
/in/foo.cc:31:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%d",ans);
                 ^
# 状态 耗时 内存占用
#1 Runtime Error 46ms 39.027 MiB
#2 Accepted 32ms 31.105 MiB
#3 Wrong Answer 106ms 47.422 MiB
#4 Wrong Answer 122ms 50.379 MiB
#5 Runtime Error 47ms 38.973 MiB
#6 Runtime Error 44ms 38.953 MiB
#7 Runtime Error 48ms 39.035 MiB
#8 Runtime Error 46ms 39.004 MiB
#9 Runtime Error 46ms 39.09 MiB
#10 Runtime Error 48ms 39.027 MiB

信息

递交者
类型
递交
题目
P1097 合并果子
语言
C++
递交时间
2019-12-04 21:49:09
评测时间
2019-12-04 21:49:09
评测机
分数
10
总耗时
590ms
峰值内存
50.379 MiB