/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:31:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
     scanf("%d%lld",&n,&g);
                         ^
/in/foo.cc:33:29: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
         scanf("%d",&a[2*i-1]);
                             ^
/in/foo.cc:35:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
     for (int i=1; i<=2*n; i++) printf("%d ",a[i]);
                                                 ^
# 状态 耗时 内存占用
#1 Accepted 7ms 2.477 MiB
#2 Accepted 7ms 2.375 MiB
#3 Accepted 9ms 2.25 MiB
#4 Accepted 199ms 6.625 MiB
#5 Accepted 218ms 5.5 MiB
#6 Accepted 186ms 5.125 MiB
#7 Accepted 257ms 6.359 MiB
#8 Accepted 169ms 5.008 MiB
#9 Accepted 227ms 3.465 MiB

信息

递交者
类型
递交
题目
P1554 硬币游戏
语言
C++
递交时间
2017-11-10 20:09:24
评测时间
2017-11-10 20:09:24
评测机
分数
90
总耗时
1283ms
峰值内存
6.625 MiB