2955: 判决素数个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll prime (ll x)//先判断…… 题解列表 2024年06月30日 0 点赞 0 评论 125 浏览 评分:0.0
2803: 整数的个数 摘要:解题思路:注意事项:别忘给sum赋值参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int k,sum1=0,sum5=0…… 题解列表 2024年06月30日 0 点赞 0 评论 95 浏览 评分:0.0
2803: 整数的个数 摘要:解题思路:注意事项:定义变量后要赋值参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int k,sum1=0,sum5=…… 题解列表 2024年06月30日 0 点赞 0 评论 113 浏览 评分:0.0
ddddgggggggggggggggggggggggggggcb 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int k,sum1=0 ,sum5=0,sum10=…… 题解列表 2024年06月30日 0 点赞 0 评论 167 浏览 评分:0.0
2805: 乘方计算 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,n,sum=1; cin>>a>>n…… 题解列表 2024年06月30日 0 点赞 0 评论 131 浏览 评分:0.0
2777:计算2的幂 摘要:解题思路:循环注意事项:变量参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int i,n,sum; sum=1;…… 题解列表 2024年06月30日 0 点赞 0 评论 132 浏览 评分:0.0
2805: 乘方计算 摘要:解题思路:注意事项:因为是乘,所以“sum=1”,不是“sum=0”参考代码:#include <bits/stdc++.h>using namespace std;int main(){ in…… 题解列表 2024年06月30日 0 点赞 0 评论 163 浏览 评分:0.0
题目 1045: [编程入门]自定义函数之整数处理 摘要:解题思路:搞三个功能自定义函数嘛注意事项:参考代码:#include<stdio.h>void qwe1(int a1[],int size);void qwe2(int a2[],int size)…… 题解列表 2024年07月01日 0 点赞 0 评论 244 浏览 评分:0.0
题解 1108: 守望者的逃离 摘要:解题思路:#include <stdio.h> int main(int argc, char** argv) { int M,S,T,su=0,t,m,time; scanf("%d%d…… 题解列表 2024年07月02日 0 点赞 0 评论 220 浏览 评分:0.0
运用字符串求解 摘要:解题思路: 用字符串的特点, 使输入的数字转化为字符串存储, 再用length函数限制输入位数, 最后用字符串下标输出注意事项: 参考代码:#include<iostream> usin…… 题解列表 2024年07月04日 2 点赞 0 评论 291 浏览 评分:0.0