Accepted

foo.cc: In function 'int main()':
foo.cc:18:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d",&n);
 ~~~~~^~~~~~~~~
foo.cc:22:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d %d",&x,&y);
 ~~~~~^~~~~~~~~~~~~~~
foo.cc:26:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 for(int i=1;i<=n;i++) scanf("%d",&w[i]);
                       ~~~~~^~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 6ms 4.93 MiB
#2 Accepted 6ms 4.98 MiB
#3 Accepted 6ms 4.941 MiB
#4 Accepted 7ms 4.984 MiB
#5 Accepted 7ms 5.074 MiB
#6 Accepted 6ms 5.055 MiB
#7 Accepted 28ms 6.934 MiB
#8 Accepted 55ms 9.547 MiB
#9 Accepted 91ms 12.57 MiB
#10 Accepted 90ms 12.531 MiB

信息

递交者
类型
递交
题目
P1405 联合权值
语言
C++
递交时间
2021-08-23 17:15:01
评测时间
2021-08-23 17:15:01
评测机
分数
100
总耗时
306ms
峰值内存
12.57 MiB