/ Vijos /

记录详情

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.98 MiB
#2 Accepted 6ms 5.023 MiB
#3 Accepted 6ms 4.992 MiB
#4 Accepted 6ms 5.027 MiB
#5 Accepted 7ms 5.078 MiB
#6 Accepted 7ms 5.082 MiB
#7 Accepted 26ms 7.688 MiB
#8 Accepted 56ms 11.09 MiB
#9 Accepted 92ms 15.555 MiB
#10 Accepted 90ms 15.57 MiB

信息

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