/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:10:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   10 |     scanf("%d%lld",&n,&m);
      |     ~~~~~^~~~~~~~~~~~~~~~
foo.cc:11:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   11 |     for(i=1;i<=n;i++) scanf("%d",&a[0][i]),a[0][i]--;
      |                       ~~~~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 101ms 1.617 MiB
#5 Accepted 77ms 1.992 MiB
#6 Accepted 54ms 1.492 MiB
#7 Accepted 110ms 1.867 MiB
#8 Accepted 49ms 1.492 MiB
#9 Accepted 66ms 1.867 MiB

信息

递交者
类型
递交
题目
P1554 硬币游戏
语言
C++
递交时间
2022-07-18 14:29:33
评测时间
2022-07-18 14:29:33
评测机
分数
90
总耗时
469ms
峰值内存
1.992 MiB