from typing import List
class TreeAncestor:
def __init__(self, n: int, parent: List[int]):
m = n。bit_length() - 1
pa = [[p] + [-1] * m for p in parent]
for i in range(m)...
Chinese Article | Word Count | Duration | Accuracy | Speed | Backspace | Error | Slogan |
---|---|---|---|---|---|---|---|
《利用树上倍增求LCA的应用》 | 779字 | 5.5分钟 | 97% | 96 CPM | 122 次 | 14 | 优秀,成绩不错哦! |
The wrong word this time: ,,,,。,!,。,,,,,。,。,,,,,!,。,。 | |||||||
Suggestion:
可能对按键不够熟悉,或者对输入法不够熟练所导致,不要急慢慢来,先打对把准确率提高,然后逐渐的加快速度,最后才能打准打快。
|
|||||||
Inspirational quotes: 骐骥筋力成,志在万里外。 ——李白 | |||||||
What do you think of this article? Give it a rating and let it serve as a guiding light for others |