/ WHOJ /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:98:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   98 |     scanf("%d%d%d", &n, &m, &p);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:100:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  100 |         scanf("%lld", &a[i]);
      |         ~~~~~^~~~~~~~~~~~~~~
foo.cc:105:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  105 |         scanf("%d", &chk);
      |         ~~~~~^~~~~~~~~~~~
foo.cc:109:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  109 |             scanf("%d%d%lld", &x, &y, &k);
      |             ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:113:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  113 |             scanf("%d%d%lld", &x, &y, &k);
      |             ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:117:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  117 |             scanf("%d%d", &x, &y);
      |             ~~~~~^~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
Found 3 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 720ms 7.367 MiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1102 【模板】线段树 2
题目数据
下载
语言
C++
递交时间
2022-03-19 16:39:45
评测时间
2022-03-19 16:39:45
评测机
分数
100
总耗时
725ms
峰值内存
7.367 MiB