当前位置:网站首页>Is l1-029 too fat (5 points)
Is l1-029 too fat (5 points)
2022-07-04 07:29:00 【Inter personal liabilities^】
L1-029 Is it too fat (5 branch )
It is said that a person's standard weight should be his height ( Company : centimeter ) subtract 100、 Multiplied by 0.9 The kilogram obtained . It is known that the value of the market weight is twice that of the kilogram . Now give someone height , Please calculate the standard weight ?( By the way, I'll calculate it for myself ……)
Input format :
The first line of input gives a positive integer H
(100 < H
≤ 300), For someone's height .
Output format :
Output the corresponding standard weight in one line , Unit: market Jin , After decimal point 1 position .
sample input :
169
sample output :
124.2
AC Code
#include<iostream>
#include<algorithm>
#include<cstring>
#include<cmath>
#include<vector>
#include<stack>
#include<queue>
#include<sstream>
using namespace std;
typedef long long ll;
const int N=100010;
int main()
{
int n;
cin >> n;
n -= 100;
printf("%.1lf",n * 0.9 * 2);
return 0;
}
边栏推荐
- 用于压缩视频感知增强的多目标网络自适应时空融合
- MySQL 数据库 - 函数 约束 多表查询 事务
- Xcode 14之大变化详细介绍
- BasicVSR++: Improving Video Super-Resolutionwith Enhanced Propagation and Alignment
- This article is enough for learning advanced mysql
- 在所有SwiftUI版本(1.0-4.0)中原生实现Charts图表视图之思路
- Splicing plain text into JSON strings - easy language method
- Recursive Fusion and Deformable Spatiotemporal Attention for Video Compression Artifact Reduction
- MySQL中的文本处理函数整理,收藏速查
- BasicVSR++: Improving Video Super-Resolutionwith Enhanced Propagation and Alignment
猜你喜欢
The IP bound to the socket is inaddr_ The meaning of any htonl (inaddr_any) (0.0.0.0 all addresses, uncertain addresses, arbitrary addresses)
Data double write consistency between redis and MySQL
Experience installing VMware esxi 6.7 under VMware Workstation 16
《剑指Offer》第2版——力扣刷题
Flink memory model, network buffer, memory tuning, troubleshooting
Cell reports: Wei Fuwen group of the Institute of zoology, Chinese Academy of Sciences analyzes the function of seasonal changes in the intestinal flora of giant pandas
Zephyr Learning note 2, Scheduling
CMS source code of multi wechat management system developed based on thinkphp6, with one click curd and other functions
Unity 从Inspector界面打开资源管理器选择并记录文件路径
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
随机推荐
[web security] nodejs prototype chain pollution analysis
Zhanrui tankbang | jointly build, cooperate and win-win zhanrui core ecology
Splicing plain text into JSON strings - easy language method
Chapter 1 programming problems
Experience installing VMware esxi 6.7 under VMware Workstation 16
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
Boosting the Performance of Video Compression Artifact Reduction with Reference Frame Proposals and
A real penetration test
Technical experts from large factories: common thinking models in architecture design
L1-023 output gplt (20 points)
BasicVSR++: Improving Video Super-Resolutionwith Enhanced Propagation and Alignment
大学阶段总结
The difference between synchronized and lock
BasicVSR++: Improving Video Super-Resolutionwith Enhanced Propagation and Alignment
博客停更声明
Recursive Fusion and Deformable Spatiotemporal Attention for Video Compression Artifact Reduction
The IP bound to the socket is inaddr_ The meaning of any htonl (inaddr_any) (0.0.0.0 all addresses, uncertain addresses, arbitrary addresses)
《剑指Offer》第2版——力扣刷题
Zephyr 学习笔记1,threads
Advanced MySQL: Basics (5-8 Lectures)