编写题解 2777: 计算2的幂 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=1;cin>>n; for…… 题解列表 2024年06月30日 0 点赞 0 评论 401 浏览 评分:9.9
Java学习小练习 摘要:解题思路:注意事项:由于c的数据类型是int,最大为2,147,483,647(2^31-1),也就是输入的数不能超过30,要注意.参考代码:import java.util.Scanner;publ…… 题解列表 2024年07月08日 0 点赞 0 评论 163 浏览 评分:0.0
2777 计算2的幂 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ ll n,…… 题解列表 2024年07月17日 0 点赞 0 评论 215 浏览 评分:0.0
计算2的幂(超简单解答) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int n; scanf("%d",&n); …… 题解列表 2024年08月02日 0 点赞 0 评论 550 浏览 评分:9.9
编写题解 2777: 计算2的幂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,p=0; scanf("%d",&n); p=pow(2,n)…… 题解列表 2024年11月07日 0 点赞 0 评论 164 浏览 评分:9.9
编写题解 2777: 计算2的幂 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,n,sum=1; scanf("%d",&n); for(i=1;i<=n;i+…… 题解列表 2024年12月05日 0 点赞 0 评论 208 浏览 评分:0.0
题解 2777: 计算2的幂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b=0; scanf("%d&qu…… 题解列表 2025年01月25日 0 点赞 0 评论 180 浏览 评分:0.0
计算2的幂pow使用 摘要:解题思路:注意事项:参考代码:a =int(input())print(pow(2, a))…… 题解列表 2025年02月12日 0 点赞 0 评论 164 浏览 评分:0.0