/ 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.371 MiB
#2 Accepted 5ms 2.332 MiB
#3 Accepted 3ms 2.27 MiB
#4 Accepted 150ms 7.09 MiB
#5 Accepted 174ms 5.375 MiB
#6 Accepted 173ms 6.25 MiB
#7 Accepted 185ms 5.375 MiB
#8 Accepted 131ms 3.227 MiB
#9 Accepted 160ms 3.5 MiB

信息

递交者
类型
递交
题目
P1554 硬币游戏
语言
C++
递交时间
2018-04-20 16:33:23
评测时间
2018-04-20 16:33:23
评测机
分数
90
总耗时
986ms
峰值内存
7.09 MiB