using namespace std;
int main() {
int n; cin >> n; int peaches = 1; // 第n天剩下的桃子数 // 从第n-1天倒推到第1天 for (int day = n; day >= 1; day--) { peaches = (peaches + 1) * 2; } cout << peaches << endl; return 0;
}
比赛已结束。