[编程入门]完数的判断-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main (){ int N; int i,j,k; int sum=0; scanf…… 题解列表 2020年07月14日 0 点赞 0 评论 757 浏览 评分:9.0
蓝桥杯算法训练VIP-FBI树C++超简单题解 摘要:**模拟线段树的建树过程,然后前序遍历即可** ```cpp #include using namespace std; const int N = 5100; struct Node {…… 题解列表 2020年07月14日 0 点赞 0 评论 693 浏览 评分:9.9
[编程入门]有规律的数列求和-题解(C语言代码)小白都懂! 摘要:解题思路:找规律,纯数学思路,希望帮到各位。注意事项: t=a; a=b; b=t+b; 是用来将分母,分子的规律表示出来的一套式子。 &nb 题解列表 2020年07月14日 0 点赞 0 评论 582 浏览 评分:0.0
二级C语言-寻找矩阵最值-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j,max,b; scanf("%d",&n); int a[n][n]; for(i=0;i<…… 题解列表 2020年07月14日 0 点赞 0 评论 750 浏览 评分:0.0
[编程入门]猴子吃桃的问题-题解(C语言代码)借鉴站里大佬的写法。。 摘要:解题思路:就是硬钢!注意事项:不会写就乱写!干就完了!参考代码:#include <stdio.h>int main (){ int N,i,b=1; scanf("%d",&N); for(i=0;…… 题解列表 2020年07月14日 0 点赞 0 评论 730 浏览 评分:0.0
C语言训练-求PI*-题解(C语言代码) 摘要:解题思路:注意事项:利用pow()函数时,注意i的起始值,确保实现正确的正负交叉项。参考代码:#include#includeint main(){ double pi=0; int…… 题解列表 2020年07月14日 0 点赞 0 评论 712 浏览 评分:0.0
新手上路,还望各路大佬多多指教! 摘要:#include #include int main() { int a=0, i=0, n = 0; long sum = 0,temp = 0; scanf("%d %d…… 题解列表 2020年07月14日 0 点赞 0 评论 491 浏览 评分:0.0
C语言训练-求s=a+aa+aaa+aaaa+aa...a的值-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ int a=0, i=0, n = 0; long sum …… 题解列表 2020年07月14日 0 点赞 0 评论 488 浏览 评分:0.0
[编程入门]自由下落的距离计算-题解(C语言代码)小白可以来看看,详细解读! 摘要:解题思路: 数学思路,先算再写代码。(好习惯!!!)注意事项: 第一问很简单,直接1/2的n次方就行;第二问有点小复杂,如果记号选错了的话很容易得出差那么一点点的答案,就很烦。 以落地…… 题解列表 2020年07月14日 0 点赞 0 评论 460 浏览 评分:0.0
蓝桥杯算法提高VIP-矩阵相乘 -题解(C语言代码) 摘要:``` #include using namespace std; typedef long long ll; ll a[1000][1000]; ll b[1000][1000]; …… 题解列表 2020年07月14日 0 点赞 0 评论 659 浏览 评分:0.0