/ 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 6ms 2.371 MiB
#4 Accepted 157ms 3.25 MiB
#5 Accepted 174ms 5.578 MiB
#6 Accepted 138ms 5.105 MiB
#7 Accepted 201ms 7.125 MiB
#8 Accepted 142ms 3.238 MiB
#9 Accepted 173ms 7.207 MiB

信息

递交者
类型
递交
题目
P1554 硬币游戏
语言
C++
递交时间
2018-06-05 14:41:05
评测时间
2018-06-05 14:41:05
评测机
分数
90
总耗时
1001ms
峰值内存
7.207 MiB