/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:54:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d %d", &n, &m, &x);
  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:55:36: 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", h+i);
                               ~~~~~^~~~~~~~~~~
foo.cc:58:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d %d %d", &u, &v, &w);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 1.125 MiB
#2 Accepted 2ms 1.125 MiB
#3 Accepted 2ms 1.125 MiB

信息

递交者
类型
自测
题目
P1880 ファーラの力
语言
C++
递交时间
2021-11-05 10:52:41
评测时间
2021-11-05 10:52:41
评测机
分数
30
总耗时
6ms
峰值内存
1.125 MiB