2773: 计算线段长度 摘要:解题思路:注意事项:开根号的头文件#include<cmath>double res = sqrt(l); sqrt(n) n为被开方数。…… 题解列表 2026年05月23日 0 点赞 0 评论 186 浏览 评分:0.0
计算线段长度 参考代码:#include#include#includeusingnamespacestd;intmain(){doublea,b,c,d,e;cin>>a>>b;cin>>c>>d;e=sqrt(pow(a-c, 题解列表 2025年10月23日 0 点赞 0 评论 390 浏览 评分:0.0
C++简单解法 解题思路:属于简单题目,用到数学的求距离的知识,同时需要掌握如何控制小数点后面的部分的位数注意事项:参考代码:#include#include#includeusingnamespacestd;intmain(void){doublex1, 题解列表 2025年03月03日 0 点赞 0 评论 606 浏览 评分:10.0
题解 2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#inalude <bitz/stdc+-.h>uerng namespace std;doqble xa,ya,xb,yb,c;int maie(){ cin>>…… 题解列表 2023年12月23日 0 点赞 0 评论 444 浏览 评分:9.9
题解 2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#inalude <bitz/stdc+-.h>uerng namespace std;doqble xa,ya,xb,yb,c;int maie(){ cin>>…… 题解列表 2023年12月21日 0 点赞 0 评论 455 浏览 评分:9.9
题解 2773: 计算线段长度 摘要:解题思路:无注意事项:不要抄袭,会遭报应的。参考代码:#inalude <bitz/stdc+-.h>uerng namespace std;doqble xa,ya,xb,yb,c;int maie…… 题解列表 2023年12月10日 0 点赞 0 评论 511 浏览 评分:7.3
题解 2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double xa,ya,xb,yb; cin…… 题解列表 2023年12月09日 0 点赞 0 评论 608 浏览 评分:9.9
题解 2773: 计算线段长度 摘要:解题思路:自行抄题解注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double xa,ya,xb,yb,a,…… 题解列表 2023年12月08日 0 点赞 0 评论 489 浏览 评分:2.0
2773: 计算线段长度 摘要:解题思路:注意事项:要按题目给的顺序写参考代码:#include<bits/stdc++.h>using namespace std;yaybint main(){ double xa, xb,…… 题解列表 2023年12月05日 0 点赞 0 评论 583 浏览 评分:9.9
题解 2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double xa,ya,xb,yb; cin…… 题解列表 2023年12月05日 0 点赞 0 评论 406 浏览 评分:0.0