#3866. C++-树-二叉树,假设有一颗h层的完全二叉树,该树最多包含多少个节点

C++-树-二叉树,假设有一颗h层的完全二叉树,该树最多包含多少个节点

Background

Description

二叉树,假设有一颗h(1<=h<=50)层的完全二叉树,该树最多包含多少个节点

Format

Input

Output

Samples

10
1023

Limitation

1s, 1024KiB for each test case.