蓝桥杯算法提高VIP-盾神与砝码称重 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;#define maxlen 28int n, m;int fm[maxlen]; int…… 题解列表 2023年06月19日 0 点赞 0 评论 562 浏览 评分:0.0
查找最接近的元素-折半/二分查找 摘要:解题思路:折半/二分查找,必须采用顺序存储。在有序的数组中,取中间值作为比较对象,若给定值与中间记录的关键字相等,则查找成功;若给定值小于中间值记录的关键字,则在中间记录的左半区继续查找;若给定值大于…… 题解列表 2023年06月19日 0 点赞 0 评论 441 浏览 评分:0.0
if解题,正常解法 摘要:解题思路:正常思路注意事项:参考代码:#include <stdio.h>int main (){int a;scanf ("%d",&a);if (100>=a&&a>=90) { …… 题解列表 2023年06月19日 0 点赞 2 评论 268 浏览 评分:6.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double score[10],aver = 0; int i,sum=0; for (i …… 题解列表 2023年06月19日 0 点赞 0 评论 312 浏览 评分:0.0
2种递归写法 摘要:解题思路: #include <bits/stdc++.h>using namespace std;int pd(int m){ if(m<=0) return 0; if(m==1) r…… 题解列表 2023年06月19日 1 点赞 0 评论 366 浏览 评分:0.0
哇靠送分题*2 摘要:解题思路:思考注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; while(cin>>a>>b>…… 题解列表 2023年06月19日 0 点赞 0 评论 782 浏览 评分:0.0
哇靠送分题 摘要:解题思路:注意事项:小小的改一下题目参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; while(cin>…… 题解列表 2023年06月19日 0 点赞 0 评论 832 浏览 评分:0.0
平均值的计算 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(Strin…… 题解列表 2023年06月19日 0 点赞 0 评论 425 浏览 评分:0.0
有规律的数列求和 摘要:#include <stdio.h> int main(){ int N=10,i; float x=2.0,y=1.0,z=0.0,sum=2.0; //scanf("%d",&N);…… 题解列表 2023年06月19日 0 点赞 0 评论 247 浏览 评分:0.0