2812: 球弹跳高度的计算 摘要:解题思路:注意事项:令人忍俊不禁参考代码:height=float(input())sum=-heightsum=float(sum)for i in range(1,11): sum=sum+…… 题解列表 2023年11月20日 0 点赞 0 评论 570 浏览 评分:4.7
题解 2772: 苹果和虫子 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double n,x,y; cin>>n>>x…… 题解列表 2023年11月30日 0 点赞 0 评论 264 浏览 评分:4.7
LJX............................................................... 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main() { int n,a,b,sum=0,ans=0; cin>>…… 题解列表 2023年12月06日 0 点赞 0 评论 227 浏览 评分:4.7
编写题解 1138: C语言训练-求矩阵的两对角线上的元素之和 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(int n){ scanf("%d",&n); int a[n][n],i,j; for(i=0;i<…… 题解列表 2023年12月15日 0 点赞 0 评论 288 浏览 评分:4.7
1002: [编程入门]三个数最大值 摘要:解题思路:注意事项:这里要比较六次参考代码:#include <iostream>using namespace std;int main(){ int a,b,c; cin >> a>>…… 题解列表 2023年12月17日 0 点赞 0 评论 306 浏览 评分:4.7
JAVA 糖果游戏升级版 摘要:解题思路:如果换成动态的n,不指定5 可能 6 7 8 9用数组来存储数据,先判断加减后是否超过左边界或者右边界如果超出进行数组下标调整注意事项:参考代码:import java.util.Sca…… 题解列表 2023年12月17日 0 点赞 0 评论 299 浏览 评分:4.7
vhgnghlkjhgfdsdfftghjkl;lkjhgfrde 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double h,w,b; cout<<"体重…… 题解列表 2024年01月07日 0 点赞 1 评论 316 浏览 评分:4.7
3044: 电池的寿命 摘要:解题思路:当n等于2时,返回最小值, 当n大于2时,返回和的一半注意事项:返回最小值时将整数转化为浮点数,以保留一位小数参考代码:#include#include#includeusing names…… 题解列表 2024年02月13日 0 点赞 3 评论 334 浏览 评分:4.7
题解 2809: 菲波那契数列 摘要:解题思路:注意事项:参考代码:k = int(input()) a1 = a2 = 1 for i in range(k - 2): a1, a2 = a2, a1 + a2 prin…… 题解列表 2024年03月17日 0 点赞 0 评论 446 浏览 评分:4.7
3150-冶炼金属-简单易懂 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d",&n); int a,b; scanf("%d %d",&a…… 题解列表 2024年03月24日 0 点赞 0 评论 464 浏览 评分:4.7