2773: 计算线段长度(数组解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double a[3],b[3]; double sum=0,num…… 题解列表 2024年11月04日 0 点赞 0 评论 153 浏览 评分:0.0
胡说八道式解释答案, 没有详细介绍 摘要:解题思路:首先,知道线段长度公式是什么 ;其次,把公式拆成计算机能理解的一个个式子,然后,知道怎么在c语言代码里面开平方;最后,知道应该定义变量是float还是double注意事项:1.c语言里面用 …… 题解列表 2024年10月27日 1 点赞 0 评论 145 浏览 评分:0.0
java-计算线段长度 摘要:```java import java.util.Scanner; public class Main { public static void main(String[] args…… 题解列表 2024年09月05日 0 点赞 0 评论 245 浏览 评分:0.0
计算线段长度 摘要:解题思路:Math.sqrt()方法注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(…… 题解列表 2023年04月12日 0 点赞 0 评论 300 浏览 评分:0.0
题解 2773: 计算线段长度 摘要:C语言中 pow函数的声明:double pow(double x, double y) pow(x,y):x的y次幂 ```c #include #include int ma…… 题解列表 2024年03月31日 0 点赞 0 评论 145 浏览 评分: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 评论 367 浏览 评分:0.0
编写题解 2773: 计算线段长度,python超简单 摘要:解题思路:详见下列代码注意事项:如果不考虑两种情况,那么会出现运行错误,感觉题目有歧义,没有明确指出。。参考代码:from math import sqrt# 读取输入并转换为浮点数列表number …… 题解列表 2024年03月15日 0 点赞 2 评论 585 浏览 评分:0.0
2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<cmath> using namespace std; int mai…… 题解列表 2023年10月31日 0 点赞 0 评论 88 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double xa, xb, ya, yb,distance,length…… 题解列表 2023年06月07日 0 点赞 0 评论 150 浏览 评分:0.0
题解 2773: 计算线段长度--C 摘要:解题思路:double注意事项:参考代码:#include<stdio.h>#include <math.h>int main(){ double x1, y1, x2, y2; doub…… 题解列表 2023年08月16日 0 点赞 0 评论 217 浏览 评分:0.0