/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:34:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
     scanf("%d%lld",&n,&T);
                         ^
/in/foo.cc:36: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:39:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
         printf("%d ",a[i],i);
                            ^
/in/foo.cc:39:28: warning: too many arguments for format [-Wformat-extra-args]
# 状态 耗时 内存占用
#1 Accepted 3ms 2.25 MiB
#2 Accepted 3ms 2.25 MiB
#3 Accepted 4ms 2.344 MiB
#4 Accepted 126ms 3.25 MiB
#5 Accepted 170ms 3.5 MiB
#6 Accepted 158ms 6.25 MiB
#7 Accepted 176ms 3.375 MiB
#8 Accepted 149ms 3.25 MiB
#9 Accepted 152ms 6.332 MiB

信息

递交者
类型
递交
题目
P1554 硬币游戏
语言
C++
递交时间
2017-07-17 13:29:54
评测时间
2017-07-17 13:29:54
评测机
分数
90
总耗时
947ms
峰值内存
6.332 MiB