5 条题解
-
1
#include<bits/stdc++.h> #include <math.h> #include <stack> #include <stdio.h> #include <iostream> #include <vector> #include <iomanip> #include <string> #include <algorithm> using namespace std; int main(){ int n,m=1; cin>>n; while(n>0){ m=(m+1)*2; n--; } cout<<m; }
信息
- ID
- 1954
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 3
- 标签
- 递交数
- 205
- 已通过
- 107
- 上传者