编写题解 1019: [编程入门]自由下落的距离计算 摘要:解题思路:注意事项: 减去最后反弹的高度参考代码:#include<stdio.h>int main(){ int n,i; double s=0,m,h=0; scanf("%lf %d"…… 题解列表 2021年12月05日 0 点赞 0 评论 231 浏览 评分:0.0
蓝桥杯算法提高VIP-最大最小值 摘要:解题思路:用sort()进行排序 输出最大和最小注意事项: 注意界限参考代码:#include<stdio.h>#include<algorithm>using namespace std;int m…… 题解列表 2021年12月05日 0 点赞 0 评论 806 浏览 评分:0.0
编写题解 1150: C语言训练-计算t=1+1/2+1/3+...+1/n 摘要:解题思路:一个循环,循环的同时,进行累加和计算。注意事项:应该用双精度才够;参考代码:#include<stdio.h>int main(){double t=0,i;int n;scanf("%d"…… 题解列表 2021年12月05日 0 点赞 0 评论 577 浏览 评分:9.9
蓝桥杯算法提高VIP-分数统计-java简洁题解 摘要:解题思路:注意事项:参考代码:import java.util.*; import java.util.concurrent.atomic.AtomicInteger; public clas…… 题解列表 2021年12月05日 0 点赞 0 评论 365 浏览 评分:9.9
编程入门]完数的判断 摘要:#include<stdio.h>#define max 1001int main() { int n,i,j,a[max],l; scanf("%d",&n); for(i=1; …… 题解列表 2021年12月05日 0 点赞 0 评论 371 浏览 评分:9.9
编写题解 1016: [编程入门]水仙花数判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,a,b,c; for(i=100;i<=999;i++) { a=i/100; c=i%10…… 题解列表 2021年12月05日 0 点赞 0 评论 342 浏览 评分:0.0
编写题解 1015: [编程入门]求和训练 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,x=0,y=0,i; float c,z=0,s=0; scanf("%d %d %f",&a,…… 题解列表 2021年12月05日 0 点赞 0 评论 294 浏览 评分:9.9
1014: [编程入门]阶乘求和 摘要:解题思路:定义一个简单函数,思路简单清晰;注意事项:参考代码:#include<stdio.h>int main(){ long int p(int x); int i,n; long int s=0…… 题解列表 2021年12月04日 0 点赞 0 评论 277 浏览 评分:9.9
活动选择c++ 摘要:解题思路:结束时间越早,能安排的活动就越多;注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int begin[100…… 题解列表 2021年12月04日 0 点赞 0 评论 955 浏览 评分:9.4
1498: 蓝桥杯算法提高VIP-凶手 java版题解 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args){ for(int i =…… 题解列表 2021年12月04日 0 点赞 0 评论 406 浏览 评分:9.9