/ Vijos /

记录详情

Accepted

foo.cc: In function 'TNode* Insret(AVLTree, int)':
foo.cc:64:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   64 |         if (GetHeight(T->Left) - GetHeight(T->Right) == 2)
      |            ^
foo.cc:73:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   73 |         if(GetHeight(T->Left) - GetHeight(T->Right) == -2)
      |           ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 384.0 KiB
#2 Accepted 4ms 384.0 KiB
#3 Accepted 4ms 384.0 KiB
#4 Accepted 21ms 768.0 KiB
#5 Accepted 52ms 768.0 KiB
#6 Accepted 79ms 888.0 KiB
#7 Accepted 52ms 768.0 KiB
#8 Accepted 123ms 888.0 KiB
#9 Accepted 117ms 892.0 KiB
#10 Accepted 4ms 384.0 KiB

信息

递交者
类型
递交
题目
P1816 统计数字
语言
C++
递交时间
2022-04-30 18:46:12
评测时间
2022-04-30 18:46:12
评测机
分数
100
总耗时
465ms
峰值内存
892.0 KiB