记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  while(scanf("%d",&n)==1){
                     ^
/in/foo.cc:11:42: 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[i]+=maxn/2;}
                                          ^
/in/foo.cc:13:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   printf("%d\n",ans);
                    ^
# 状态 耗时 内存占用
#1 Accepted 33ms 7.887 MiB
#2 Accepted 28ms 7.875 MiB
#3 Accepted 19ms 7.875 MiB
#4 Accepted 39ms 7.871 MiB
#5 Accepted 32ms 8.0 MiB
#6 Accepted 38ms 7.996 MiB
#7 Accepted 28ms 7.875 MiB
#8 Accepted 42ms 7.875 MiB
#9 Accepted 28ms 7.965 MiB
#10 Accepted 18ms 8.0 MiB

信息

递交者
类型
递交
题目
排序
题目数据
下载
语言
C++
递交时间
2017-10-30 20:20:11
评测时间
2017-10-30 20:20:14
评测机
分数
100
总耗时
311ms
峰值内存
8.0 MiB