/ 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 3ms 256.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 94ms 1.492 MiB
#5 Accepted 90ms 1.742 MiB
#6 Accepted 96ms 1.355 MiB
#7 Accepted 102ms 1.742 MiB
#8 Accepted 92ms 1.242 MiB
#9 Accepted 84ms 1.742 MiB

信息

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