/ WHOJ /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:60:15: warning: comparison of integer expressions of different signedness: 'long long int' and 'long long unsigned int' [-Wsign-compare]
   60 |  for(ll i=1; i<=n; i++)
      |              ~^~~
foo.cc:61:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   61 |   scanf("%lld",&a[i]);
      |   ~~~~~^~~~~~~~~~~~~~
foo.cc:64:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   64 |   scanf("%lld",&op);//操作方式
      |   ~~~~~^~~~~~~~~~~~
foo.cc:67:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   67 |     scanf("%lld%lld%lld",&l,&r,&k);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:72:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   72 |     scanf("%lld%lld",&l,&r);
      |     ~~~~~^~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
Found 5 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 215ms 5.867 MiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1080 【模板】线段树 1
题目数据
下载
语言
C++
递交时间
2022-03-05 21:30:16
评测时间
2022-03-05 21:30:16
评测机
分数
100
总耗时
226ms
峰值内存
5.867 MiB