/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:40: 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",&l[i]),l[i]+=l[i-1];
                                   ~~~~~^
/in/foo.cc:11:40: 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",&m[i]),m[i]+=m[i-1];
                                   ~~~~~^
# 状态 耗时 内存占用
#1 Accepted 2ms 312.0 KiB
#2 Accepted 1ms 444.0 KiB
#3 Accepted 1ms 444.0 KiB
#4 Accepted 2ms 2.809 MiB
#5 Accepted 1ms 828.0 KiB
#6 Accepted 7ms 8.059 MiB
#7 Accepted 7ms 8.051 MiB
#8 Accepted 7ms 8.062 MiB
#9 Accepted 7ms 8.059 MiB
#10 Accepted 7ms 8.066 MiB

信息

递交者
类型
递交
题目
P1283 佳佳的魔杖
语言
C++
递交时间
2017-09-23 18:53:23
评测时间
2017-09-23 18:53:23
评测机
分数
100
总耗时
46ms
峰值内存
8.066 MiB