/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void segins(int&, int, int, int, int)':
/in/foo.cc:36:15: warning: capture of variable 'tot' with non-automatic storage duration
   36 |         i = [&tot]() {
      |               ^~~
/in/foo.cc:12:5: note: 'int tot' declared here
   12 | int tot, n, m, xsiz;
      |     ^~~
/in/foo.cc:43:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   43 |     int mid = l + r >> 1;
      |               ~~^~~
/in/foo.cc: In function 'int bitask(int, int, int)':
/in/foo.cc:78:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   78 |         int mid = l + r >> 1, tmp = getleft();
      |                   ~~^~~
# 状态 耗时 内存占用
#1 Accepted 78ms 27.262 MiB
#2 Accepted 124ms 40.102 MiB
#3 Accepted 16ms 4.777 MiB
#4 Accepted 72ms 20.328 MiB
#5 Accepted 60ms 17.809 MiB
#6 Accepted 127ms 40.551 MiB
#7 Accepted 133ms 44.977 MiB
#8 Accepted 93ms 25.211 MiB
#9 Accepted 130ms 37.789 MiB
#10 Accepted 29ms 6.984 MiB

信息

递交者
类型
递交
题目
P1665 区间查询
语言
C++
递交时间
2025-06-17 16:46:53
评测时间
2025-06-17 16:46:53
评测机
分数
100
总耗时
865ms
峰值内存
44.977 MiB