/ Vijos /

记录详情

Accepted

foo.cc: In function 'void segins(int&, int, int, int, int)':
foo.cc:36:15: warning: capture of variable 'tot' with non-automatic storage duration
   36 |         i = [&tot]() {
      |               ^~~
foo.cc:12:5: note: 'int tot' declared here
   12 | int tot, n, m, xsiz;
      |     ^~~
foo.cc:43:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   43 |     int mid = l + r >> 1;
      |               ~~^~~
foo.cc: In function 'int bitask(int, int, int)':
foo.cc:78:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   78 |         int mid = l + r >> 1, tmp = getleft();
      |                   ~~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 158ms 27.141 MiB
#2 Accepted 216ms 40.141 MiB
#3 Accepted 17ms 4.68 MiB
#4 Accepted 140ms 20.195 MiB
#5 Accepted 86ms 17.793 MiB
#6 Accepted 253ms 40.422 MiB
#7 Accepted 260ms 44.832 MiB
#8 Accepted 127ms 25.09 MiB
#9 Accepted 223ms 37.766 MiB
#10 Accepted 53ms 6.973 MiB

信息

递交者
类型
递交
题目
P1665 区间查询
语言
C++
递交时间
2023-08-14 17:15:31
评测时间
2023-08-14 17:15:31
评测机
分数
100
总耗时
1537ms
峰值内存
44.832 MiB