1063. 计算谱半径(20)
来源:互联网 发布:python 折线图 编辑:程序博客网 时间:2024/04/30 12:10
1063. 计算谱半径(20)
#include <stdio.h>#include <math.h>int main(){ int n; double max=-1; scanf("%d",&n); while(n--) { double a,b,ans; scanf("%lf %lf",&a,&b); ans=sqrt(a*a+b*b); if(ans>max)max=ans; } printf("%.2lf",max); return 0;}
0 0
- 1063. 计算谱半径(20)
- 1063. 计算谱半径(20)
- 1063. 计算谱半径(20)
- 1063. 计算谱半径(20)
- 1063. 计算谱半径(20)
- 1063. 计算谱半径(20)
- 1063. 计算谱半径(20)
- 1063. 计算谱半径(20)
- 1063. 计算谱半径(20)
- 1063.计算谱半径(20)
- 1063. 计算谱半径(20)
- 1063. 计算谱半径(20)
- 1063. 计算谱半径(20)
- 1063. 计算谱半径(20)
- 1063. 计算谱半径(20)
- 1063. 计算谱半径(20)
- 1063. 计算谱半径(20)
- 1063. 计算谱半径(20)
- 布隆过滤器
- 第十六周 项目一 - 基数排序
- JavaSE学习笔记之NIO.2
- Mac Eclipse Tomcat 权限问题
- Android 微信第三方登录(个人笔记)
- 1063. 计算谱半径(20)
- 基数排序总结
- HTML5-简单触摸事件
- Linux下5种动态库运行时搜索路径的方法
- 第十六周 项目一 - 冒泡排序
- 单例模式
- Github仓库创建及git常用命令使用
- Java语法学习2
- 第十六周 项目二 - 大数据集上排序算法性能的体验