题解 2805: 乘方计算 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,n; int sum=1; …… 题解列表 2024年01月10日 0 点赞 0 评论 389 浏览 评分:9.9
python代码正确100%&&&&&&& 解题思路:注意事项:参考代码:a,n=map(int,input().split())#使用map函数循环输入print(a**n) 题解列表 2023年12月26日 0 点赞 0 评论 555 浏览 评分:9.9
LJX........................................................ 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,a,sum=1; cin>>a>>n; …… 题解列表 2023年12月06日 0 点赞 0 评论 372 浏览 评分:6.0
2805: 乘方计算 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int a,b…… 题解列表 2023年11月17日 0 点赞 0 评论 453 浏览 评分:0.0
题解 2805: 乘方计算 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int z,f=0,b,c=0; cin>>b>>z; f=…… 题解列表 2023年11月08日 0 点赞 0 评论 582 浏览 评分:9.9
2805: 乘方计算 摘要:``` #include using namespace std; int main(){ int a,n,sum; cin>>a>>n; sum=1; for(int i=0;…… 题解列表 2023年11月05日 0 点赞 0 评论 472 浏览 评分:7.3
for循环c语言版 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,n; int ax=1; scanf("%d %d",&a,&n); if(…… 题解列表 2023年11月04日 0 点赞 0 评论 694 浏览 评分:9.9
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,n ; cin>>a>>n; …… 题解列表 2023年07月12日 0 点赞 0 评论 548 浏览 评分:0.0
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,n ; cin>>a>>n; …… 题解列表 2023年07月08日 0 点赞 0 评论 412 浏览 评分:0.0
2805: 乘方计算(C语言之奇奇怪怪解法) #include//power函数使用递归方式计算乘方。如果指数n为0,返回1。如果指数n为偶数,递归计算a^(n/2)并返回结果的平方。如果指数n为奇数,递归计算a^((n-1)/2),将结果与a相乘,然后再乘以结果的平方。longlongintpower(inta, 题解列表 2023年07月07日 0 点赞 1 评论 716 浏览 评分:9.9