sicily. 1815 计算两点间的距离
来源:互联网 发布:如何在手机上淘宝购物 编辑:程序博客网 时间:2024/06/05 09:37
#include <iostream>#include <cmath>#include <stdio.h>using namespace std;int main(){int caseNum;cin >> caseNum;while(caseNum--){double x1,y1,x2,y2;cin >> x1 >> y1 >> x2 >> y2;double dis = sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));printf("%.2f\n",dis);}return 0;}
0 0
- sicily. 1815 计算两点间的距离
- sicily--1815. 计算两点间的距离
- Sicily 1815. 计算两点间的距离
- soj - 1815 - 计算两点间的距离
- soj - 1815 - 计算两点间的距离
- 计算两点间的距离
- 计算两点间的距离
- 计算两点间的距离
- 计算两点间的距离
- 计算两点间的距离
- 计算两点间的距离
- 计算两点间的距离
- 计算两点间的距离
- 计算两点间的距离
- 计算两点间的距离
- 计算两点间的距离
- 计算两点间的距离
- 2001 计算两点间的距离
- hadoop示例程序 WordCount详解
- 计算机常用缩略语汇编
- jquery实现checkbox全选全不选的简单实例
- 【读书笔记】《大数据技术与产业发展白皮书》笔记
- opencv小波变换代码
- sicily. 1815 计算两点间的距离
- C# DataGridView 添加Button -转
- PODOFO编译之3——可用篇
- MySql数据库的列类型(字段类型)
- 工作点滴2 - Cisco IP Event Dampening - 思科IP事件抑制机制
- TextView添加链接
- 由Clang LLVM 1.0 Error error: -fobjc-arc is not supported with fragile abi说起
- junit 单元测试,测试上传相片
- mysql联合索引与Where子句优化浅析