P5018 [NOIP 2018 普及组] 对称二叉树 2026-1-20 2:05 | 22 | 3 | 算法题解 99 字 | 2 分钟 题目 #include<bits/stdc++.h> using namespace std; int n,t; struct tree{ int l,r,v; }a[1000001]; int ans; bool pd(int x, int y) { if (x==-1&&y==-1) return 1; if (x… 数据结构树