【计算两点间的距离】 (Java代码易懂) 摘要:注意事项:勾股定理a^2 + b^2 = c^2 参考代码: ```java import java.util.Scanner; public class Main { public…… 题解列表 2024年11月14日 0 点赞 0 评论 166 浏览 评分:9.9
STL map解法 和为给定数 摘要:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N = 1e7 + 10;ll num[N];ma…… 题解列表 2024年11月14日 0 点赞 0 评论 99 浏览 评分:0.0
排列 dfs暴力 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; // 全局变量声明 int n, a[5], b[5], m = 0; …… 题解列表 2024年11月14日 0 点赞 0 评论 134 浏览 评分:0.0
建立数组用冒泡排序求解(可扩展) 摘要:解题思路:冒泡排序注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[3]; cin>>a[0]>>a[1]…… 题解列表 2024年11月14日 0 点赞 0 评论 484 浏览 评分:9.9
蓝桥杯2024年第十五届省赛真题-遗迹 摘要:## 知识点 动态规划。 ## 题面 小蓝找到了一个外星文明留下来的遗迹,遗迹大门的屏幕上有一个长度为m 的字符串 t 和一个输入框,下面还有一个键盘,键盘为一个长度为 n 的字符串 s ,由一…… 题解列表 2024年11月14日 7 点赞 2 评论 1280 浏览 评分:2.0
2875: 回文子串 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> int main( ){ char s[501]={0}; int n,len,beg…… 题解列表 2024年11月14日 0 点赞 0 评论 178 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a,b=1; scanf("%d",&a); for(i=1;i<a;i++) …… 题解列表 2024年11月13日 0 点赞 0 评论 178 浏览 评分:0.0
有详细解题思考方向,执果索因, 随便写啦 摘要:解题思路: 观察题目给出的具体输出例子,有正三角形,倒三角形,空格(正三角形前面有空格,两个三角形中间也有空格)先分别写一下正三角形和倒三角形输出代码,要求两个代码限制循环的条件相同,用具体的例子,然…… 题解列表 2024年11月13日 1 点赞 0 评论 166 浏览 评分:0.0
高中不会的题现在终于解决了!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i; float a,b,m,n; scanf("%f…… 题解列表 2024年11月13日 0 点赞 0 评论 101 浏览 评分:0.0
看不懂直接喷 摘要:解题思路:对于换行符的完美运用注意事项:参考代码:#include <stdio.h>int main() { float i,a; scanf("%f",&a); for(i=0;i<1;i++){…… 题解列表 2024年11月13日 0 点赞 0 评论 423 浏览 评分:6.0