摘要: 1.Alex and broken contest Description One day Alex was creating a contest about his friends, but accidentally deleted it. Fortunately, all the problem 阅读全文
posted @ 2018-08-05 15:46 王陸 阅读(284) 评论(0) 推荐(0) 编辑
摘要: Walking Between Houses There are nn houses in a row. They are numbered from 11 to nn in order from left to right. Initially you are in the house 11. Y 阅读全文
posted @ 2018-08-05 14:41 王陸 阅读(698) 评论(0) 推荐(1) 编辑
摘要: 一.查询一组的LCA Nearest Common Ancestors A rooted tree is a well-known data structure in computer science and engineering. An example is shown below: In th 阅读全文
posted @ 2018-08-05 14:09 王陸 阅读(1049) 评论(0) 推荐(0) 编辑