1242: 矩阵转置 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;const int N=1e3+5;typedef long long ll;ll…… 题解列表 2024年06月01日 0 点赞 0 评论 243 浏览 评分:0.0
1100采药(dp记忆化搜索) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>#include<cstring>using namespace std;const int M…… 题解列表 2024年06月01日 0 点赞 0 评论 345 浏览 评分:0.0
蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:1.封装成函数,传入数据量n即可,函数返回平均值,2.函数通过循环获取输入,并累加求和,3.计算平均值,函数结果回传注意事项:此题要求得到平均值,但结果是一个整数,如例子给出的 3 4 0 …… 题解列表 2024年06月01日 0 点赞 0 评论 214 浏览 评分:0.0
2042: 杨辉三角 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N =1e3;ll a…… 题解列表 2024年06月01日 0 点赞 0 评论 292 浏览 评分:0.0
编写题解 2831: 画矩形 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a,b;bool d;char c;cin>>a>>b…… 题解列表 2024年06月02日 0 点赞 0 评论 147 浏览 评分:0.0
编写题解 2806: 人口增长问题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int x,n;cin>>x>>n;double s=x*1.…… 题解列表 2024年06月02日 0 点赞 0 评论 238 浏览 评分:0.0
算法思维弱,尽力了 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;void sc (int a,int b, int c){ cout << a…… 题解列表 2024年06月03日 0 点赞 0 评论 286 浏览 评分:0.0
[ 指针 ]自定义函数之数字后移 摘要:解题思路:类似循环链表,用指针指向数组尾,在把数据后拉注意事项:参考代码:#includevoid Sort(int *a,int n,int s);void Input(int *a,int n);…… 题解列表 2024年06月03日 0 点赞 0 评论 190 浏览 评分:0.0
找第一个只出现一次的字符 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2024年06月03日 0 点赞 0 评论 337 浏览 评分:0.0
自由下落的距离计算(c语言) 摘要:解题思路:注意事项:这个共经过多少米是指从开始到落地所经过的点,而非到落地反弹后的点参考代码:#include <stdio.h> int main(){ int n; float high…… 题解列表 2024年06月03日 0 点赞 0 评论 151 浏览 评分:0.0