记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:58:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   58 |     scanf("%d %d", &n, &m);
      |     ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:63:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   63 |         scanf("%d", &num[i]);
      |         ~~~~~^~~~~~~~~~~~~~~
foo.cc:81:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   81 |         scanf("%d", &op);
      |         ~~~~~^~~~~~~~~~~
foo.cc:83:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   83 |             scanf("%d %d %d", &l, &r, &v);
      |             ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:98:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   98 |             scanf("%d %d", &x, &v);
      |             ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:107:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  107 |             scanf("%d", &x);
      |             ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 2ms 256.0 KiB
#5 Accepted 2ms 256.0 KiB
#6 Accepted 2ms 256.0 KiB
#7 Accepted 2ms 256.0 KiB
#8 Accepted 376ms 2.691 MiB
#9 Accepted 566ms 3.617 MiB
#10 Accepted 378ms 2.742 MiB

信息

递交者
类型
递交
题目
P1384 Problem C. Segtree Master
语言
C++
递交时间
2022-07-12 14:49:35
评测时间
2022-07-12 14:49:35
评测机
分数
100
总耗时
1337ms
峰值内存
3.617 MiB