/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool operator<(data_class, data_class)':
/in/foo.cc:34:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     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]
     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' [-Wparentheses]
                 if (fa)
                    ^
/in/foo.cc:161:5: warning: control reaches end of non-void function [-Wreturn-type]
     }
     ^
# 状态 耗时 内存占用
#1 Accepted 178ms 20.875 MiB
#2 Accepted 259ms 20.809 MiB
#3 Accepted 52ms 20.875 MiB
#4 Accepted 187ms 20.875 MiB
#5 Accepted 141ms 20.875 MiB
#6 Accepted 264ms 20.875 MiB
#7 Accepted 264ms 20.973 MiB
#8 Accepted 236ms 20.992 MiB
#9 Accepted 250ms 20.953 MiB
#10 Accepted 95ms 20.992 MiB

信息

递交者
类型
递交
题目
P1665 区间查询
语言
C++
递交时间
2017-07-04 21:57:07
评测时间
2017-07-04 21:57:07
评测机
分数
100
总耗时
1930ms
峰值内存
20.992 MiB