编写题解 2777: 计算2的幂
摘要:解题思路:注意事项:参考代码:#include<iostream>
#include<math.h>
using namespace std;
int main()
{
long l……
编写题解 2777: 计算2的幂
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long a=1,n; cin>>n……
编写题解 2777: 计算2的幂
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <math.h>int main(){ int a,A; scanf("%d",&a); A=pow……
2777: 计算2的幂(超级简单)
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; long long……
题解 2777: 计算2的幂
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; int m……
2777: 计算2的幂
摘要:解题思路:注意事项:参考代码:#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int n;
……
221486416456185456
摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; cout<<(int)pow(……
解法有很多,多思考进步才会大
摘要:解题思路:注意事项:参考代码: int n,s=2; scanf("%d",&n); for(int i=0;i<n-1;i++){ s = s * 2; ……