[C++]题解 1981: 输出M到N的数 摘要:# 题解 1981: 输出M到N的数 ### 代码与思路如下 ```cpp #include using namespace std; int main() { int m,n,…… 题解列表 2024年01月22日 0 点赞 0 评论 326 浏览 评分:9.9
动态规划java实现。实际上找的是每一位上所能允许的最长长度,要不断的和前面的作比较 摘要:解题思路:注意事项:参考代码:Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] arr = new int[n]; …… 题解列表 2024年01月22日 0 点赞 0 评论 279 浏览 评分:6.0
两行解决字符替换 摘要:解题思路:0.0注意事项:奥利给加油!参考代码:n,a,b=map(str,input().split())print(n.replace(a,b))…… 题解列表 2024年01月22日 0 点赞 0 评论 368 浏览 评分:0.0
C++1045,小白题解。简单易懂。会简单for循环与函数就能看懂。 摘要:解题思路:利用for循环,算出所输入的数字里面的最大值与最小值,最后将其与其他数字更换位置即可。注意事项:当我们找到最大值最小值时,应该知道这个数值在数组的哪一个位置,这样有利于后续的更换位置。参考代…… 题解列表 2024年01月22日 0 点赞 0 评论 372 浏览 评分:0.0
1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c;…… 题解列表 2024年01月22日 0 点赞 0 评论 326 浏览 评分:0.0
2774: 计算三角形面积 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double x1,y1,x2,y2,x3,y3,a…… 题解列表 2024年01月22日 0 点赞 0 评论 241 浏览 评分:0.0
1669: 求圆的面积 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>//要用万能头!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!using namesp…… 题解列表 2024年01月22日 2 点赞 0 评论 1203 浏览 评分:7.3
蓝桥杯2016年第七届真题-四平方和(Java) 摘要:```java import java.util.Scanner; public class Main { public static void main(String[] args…… 题解列表 2024年01月22日 0 点赞 0 评论 314 浏览 评分:0.0
三个字符串的排序 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<cstdio>#include<cstring>using namespace std;//自定义函数,实现比较a…… 题解列表 2024年01月22日 0 点赞 0 评论 311 浏览 评分:0.0
C语言--study||O.o 摘要:参考代码:#include<stdio.h> struct student { char number[10]; char name[10]; int s1; …… 题解列表 2024年01月22日 0 点赞 0 评论 303 浏览 评分:9.9