记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:63:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   63 |     scanf("%d%d",&n,&q);
      |     ~~~~~^~~~~~~~~~~~~~
foo.cc:65:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   65 |         scanf("%lld",&a[i]);
      |         ~~~~~^~~~~~~~~~~~~~
foo.cc:71:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   71 |         scanf("%d",&op);
      |         ~~~~~^~~~~~~~~~
foo.cc:73:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   73 |             scanf("%d%d%lld",&l,&r,&v);
      |             ~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:77:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   77 |             scanf("%d%lld",&x,&v);
      |             ~~~~~^~~~~~~~~~~~~~~~
foo.cc:83:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   83 |             scanf("%d",&x);
      |             ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 49ms 15.625 MiB
#2 Accepted 59ms 15.625 MiB
#3 Accepted 21ms 15.625 MiB
#4 Accepted 21ms 15.625 MiB
#5 Accepted 19ms 15.625 MiB
#6 Accepted 18ms 15.625 MiB
#7 Accepted 19ms 15.625 MiB
#8 Accepted 350ms 24.117 MiB
#9 Accepted 328ms 24.992 MiB
#10 Accepted 330ms 24.117 MiB

信息

递交者
类型
递交
题目
P1384 Problem C. Segtree Master
比赛
2022年暑期算法队集训赛
语言
C++
递交时间
2022-07-08 15:19:23
评测时间
2022-07-08 15:19:23
评测机
分数
100
总耗时
1217ms
峰值内存
24.992 MiB