/ 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 1ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Accepted 86ms 1.492 MiB
#5 Accepted 95ms 1.742 MiB
#6 Accepted 78ms 1.367 MiB
#7 Accepted 94ms 1.742 MiB
#8 Accepted 68ms 1.242 MiB
#9 Accepted 79ms 1.617 MiB

信息

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