通过代码:
#include <bits/stdc++.h> using namespace std; int n; int main() { scanf("%d", &n); printf("%lld", (long long)pow(2, n)); return 0; }
1037:计算2的幂
最新推荐文章于 2022-10-05 06:54:46 发布
通过代码:
#include <bits/stdc++.h> using namespace std; int n; int main() { scanf("%d", &n); printf("%lld", (long long)pow(2, n)); return 0; }