计算线段长度 摘要:解题思路:利用距离公式(Xa-Xb)*(Xa-Xb)+(Ya-Yb)*(Ya-Yb)开根号注意事项:用double,如果是float会错误82 导入#include<math…… 题解列表 2022年10月23日 0 点赞 0 评论 995 浏览 评分:8.4
函数调用求线段长度-C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> double func(double x1,double y1,double x2,double…… 题解列表 2022年12月20日 0 点赞 0 评论 1465 浏览 评分:9.9
题解 2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double xa = 0; double ya = 0; double xb …… 题解列表 2023年03月01日 0 点赞 0 评论 575 浏览 评分:0.0
1498154526578156485145475 摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main(){ double xa,ya,xb,yb; cin>>xa>>ya>>…… 题解列表 2023年04月22日 0 点赞 0 评论 747 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double xa, xb, ya, yb,distance,length…… 题解列表 2023年06月07日 0 点赞 0 评论 512 浏览 评分:0.0
计算线段长度(简单) 摘要:```c #include #include int main() { double a,b,c,d,x; scanf("%lf %lf %lf %lf",&a,&b,&c…… 题解列表 2023年07月22日 0 点赞 0 评论 642 浏览 评分:6.0
题解 2773: 计算线段长度--C 摘要:解题思路:double注意事项:参考代码:#include<stdio.h>#include <math.h>int main(){ double x1, y1, x2, y2; doub…… 题解列表 2023年08月16日 0 点赞 0 评论 560 浏览 评分:0.0
计算线段长度 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){double Xa,Xb,Ya,Yb;scanf("%lf %lf",&Xa,&Y…… 题解列表 2023年11月13日 0 点赞 4 评论 853 浏览 评分:9.9
计算线段长度C语言 摘要:解题思路:勾股定理注意事项:参考代码:#include<stdio.h>#include <math.h>int main(){ double xa,ya,xb,yb; scanf("%l…… 题解列表 2024年01月18日 0 点赞 0 评论 493 浏览 评分:9.9
题解 2773: 计算线段长度 C语言中pow函数的声明:doublepow(doublex,doubley)pow(x,y):x的y次幂```c#include#includeintmain(){doublex_a,y_a,x_b,y_b;scanf("%lf%lf%lf%lf", 题解列表 2024年03月31日 0 点赞 0 评论 470 浏览 评分:0.0