3 2
14 The following figure describes the given tree.  There are $14$ pairs of vertices such that the distance between them is $2$: $(1,4),(1,5),(1,6),(1,7),(2,3),(3,2),(4,1),(4,5),(5,1),(5,4),(6,1),(6,7),(7,1),(7,6)$.
14142 17320
11284501
{
"problem": {
"name": "Distance on Large Perfect Binary Tree",
"description": {
"content": "We have a tree with $2^N-1$ vertices. The vertices are numbered $1$ through $2^N-1$. For each $1\\leq i < 2^{N-1}$, the following edges exist: * an undirected edge connecting Vertex $i$ and Vertex",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "abc220_e"
},
"statements": [
{
"statement_type": "Markdown",
"content": "We have a tree with $2^N-1$ vertices. \nThe vertices are numbered $1$ through $2^N-1$. For each $1\\leq i < 2^{N-1}$, the following edges exist:\n\n* an undirected edge connecting Vertex $i$ and Vertex...",
"is_translate": false,
"language": "English"
}
]
}