题解 1019: [编程入门]自由下落的距离计算 C语言解法 摘要:解题思路:注意事项:注意减去重复计算的高度,总高度要计算弹起高度参考代码:#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>int main(){ …… 题解列表 2023年12月22日 0 点赞 0 评论 137 浏览 评分:0.0
题解 1671: 小九九 C语言 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>int main(){ for (int i = 1; i <= 9…… 题解列表 2023年12月22日 0 点赞 0 评论 124 浏览 评分:0.0
利用循环解决(C++) 摘要:解题思路:注意事项:注意sum和Sn需要long long 类型,不然会超界参考代码:#include<iostream>using namespace std;int main(){ int …… 题解列表 2023年12月22日 0 点赞 0 评论 156 浏览 评分:0.0
数组存储,循环相除(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int arr[3] = { 0 …… 题解列表 2023年12月22日 0 点赞 0 评论 173 浏览 评分:0.0
一个递归解决 摘要:解题思路:F_2是分子,F_1是分母注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std; double F_2(int n…… 题解列表 2023年12月22日 0 点赞 0 评论 155 浏览 评分:0.0
利用循环实现等比数列 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;//一球从M米高度自由下落,每次落地后返回原高度的一半,再落…… 题解列表 2023年12月22日 0 点赞 0 评论 130 浏览 评分:0.0
朴实无华的sort选择排序 摘要:解题思路:在bool那写入判断条件注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;bool cmp(int a,i…… 题解列表 2023年12月22日 1 点赞 0 评论 163 浏览 评分:0.0
编写题解 2879: 错误探测 摘要:解题思路:注意事项:参考代码:m=int(input())aList=[]flag1=1myList=[list(map(int,input().split())) for t in range(m)…… 题解列表 2023年12月22日 0 点赞 0 评论 289 浏览 评分:0.0
题解 2885: 矩阵转置 摘要: #include using namespace std; const int N=110; int a[N][N]; int main(){ …… 题解列表 2023年12月22日 0 点赞 0 评论 191 浏览 评分:0.0
2885: 矩阵转置 摘要:``` #include using namespace std; const int N=110; int a[N][N]; int main(){ int n,m; cin>>n…… 题解列表 2023年12月22日 0 点赞 0 评论 220 浏览 评分:0.0