/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'bool operator<(data_class, data_class)':
/in/foo.cc:34:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   34 |     return (a.data<b.data||a.data==b.data&&a.HASH<b.HASH);
      |                            ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'bool operator>(data_class, data_class)':
/in/foo.cc:37:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   37 |     return (a.data>b.data||a.data==b.data&&a.HASH>b.HASH);
      |                            ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/in/foo.cc: In member function 'int SBT::remove(int, int&, data_class)':
/in/foo.cc:149:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
  149 |                 if (fa)
      |                    ^
/in/foo.cc:161:5: warning: control reaches end of non-void function [-Wreturn-type]
  161 |     }
      |     ^
# 状态 耗时 内存占用
#1 Runtime Error 101ms 21.141 MiB
#2 Runtime Error 137ms 21.145 MiB
#3 Runtime Error 29ms 21.035 MiB
#4 Runtime Error 75ms 21.148 MiB
#5 Runtime Error 68ms 21.148 MiB
#6 Runtime Error 144ms 21.133 MiB
#7 Runtime Error 158ms 21.148 MiB
#8 Runtime Error 89ms 21.137 MiB
#9 Runtime Error 134ms 21.141 MiB
#10 Runtime Error 35ms 21.152 MiB

信息

递交者
类型
递交
题目
P1665 区间查询
语言
C++
递交时间
2026-10-28 21:51:46
评测时间
2026-10-28 21:51:46
评测机
分数
0
总耗时
975ms
峰值内存
21.152 MiB