/ 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 1ms 256.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Accepted 57ms 1.367 MiB
#5 Accepted 82ms 1.617 MiB
#6 Accepted 62ms 1.363 MiB
#7 Accepted 79ms 1.617 MiB
#8 Accepted 59ms 1.242 MiB
#9 Accepted 63ms 1.605 MiB

信息

递交者
类型
递交
题目
P1554 硬币游戏
语言
C++
递交时间
2022-01-21 19:15:22
评测时间
2022-01-21 19:15:22
评测机
分数
90
总耗时
410ms
峰值内存
1.617 MiB