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