题解 2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#inalude <bitz/stdc+-.h>uerng namespace std;doqble xa,ya,xb,yb,c;int maie(){ cin>>…… 题解列表 2023年12月21日 0 点赞 0 评论 159 浏览 评分:9.9
题解 2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double xa,ya,xb,yb; cin…… 题解列表 2023年12月09日 0 点赞 0 评论 289 浏览 评分:9.9
2773: 计算线段长度 摘要:解题思路:注意事项:要按题目给的顺序写参考代码:#include<bits/stdc++.h>using namespace std;yaybint main(){ double xa, xb,…… 题解列表 2023年12月05日 0 点赞 0 评论 202 浏览 评分:9.9
2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double xa,ya,xb,yb,a,b; …… 题解列表 2023年12月02日 0 点赞 0 评论 157 浏览 评分:9.9
2773: 计算线段长度 摘要:```cpp #include #include #include using namespace std; int main() { double xa, xb, ya, …… 题解列表 2023年11月22日 0 点赞 0 评论 169 浏览 评分:9.9
编写题解 2773: 计算线段长度(制作不易,求个好评) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double xa,ya,xb,yb,a,b; …… 题解列表 2023年12月02日 0 点赞 0 评论 147 浏览 评分:9.9
计算线段长度 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){double Xa,Xb,Ya,Yb;scanf("%lf %lf",&Xa,&Y…… 题解列表 2023年11月13日 0 点赞 4 评论 460 浏览 评分:9.9
2773: 计算线段长度(制作不易,给个好评) 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double xa,ya,xb,yb; cin>>xa>>ya>>…… 题解列表 2023年04月22日 0 点赞 0 评论 421 浏览 评分:9.9
pow函数算平方根 摘要:解题思路:利用pow函数来求开方,与sqrt函数求开方同理注意事项:1/2是整型,等于零,应该用1.0/2参考代码:#include<iostream>using namespace std;#inc…… 题解列表 2023年05月01日 0 点赞 0 评论 241 浏览 评分:9.9
计算线段长度 摘要:解题思路:利用距离公式(Xa-Xb)*(Xa-Xb)+(Ya-Yb)*(Ya-Yb)开根号注意事项:用double,如果是float会错误82 导入#include<math…… 题解列表 2022年10月23日 0 点赞 0 评论 628 浏览 评分:8.4