/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool check_bst(int, int)':
/in/foo.cc:28:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if (i==2*x&&a[i]>a[x]||i==2*x+1&&a[i]<a[x]) return 0;
         ~~~~~~^~~~~~~~~~~
/in/foo.cc:30:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if (i==2*x&&a[i]<a[x]||i==2*x+1&&a[i]>a[x]) return 0;
         ~~~~~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 256.0 KiB
#2 Accepted 3ms 192.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 10ms 304.0 KiB
#5 Accepted 8ms 328.0 KiB
#6 Accepted 13ms 260.0 KiB
#7 Accepted 6ms 340.0 KiB
#8 Accepted 11ms 256.0 KiB
#9 Accepted 8ms 364.0 KiB
#10 Accepted 1ms 380.0 KiB

信息

递交者
类型
递交
题目
P1897 学姐吃牛排
语言
C++
递交时间
2017-06-27 12:36:09
评测时间
2017-06-27 12:36:09
评测机
分数
100
总耗时
72ms
峰值内存
380.0 KiB