当前位置:网站首页>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;
}
边栏推荐
- Docker install MySQL
- kubernetes集群之Label管理
- Why does the producer / consumer mode wait () use while instead of if (clear and understandable)
- How to buy financial products in 2022?
- Computer connects raspberry pie remotely through putty
- Detailed introduction to the big changes of Xcode 14
- MySQL error resolution - error 1261 (01000): row 1 doesn't contain data for all columns
- Zephyr study notes 2, scheduling
- This monitoring system can monitor the turnover intention and fishing all, and the product page has 404 after the dispute appears
- 在所有SwiftUI版本(1.0-4.0)中原生实现Charts图表视图之思路
猜你喜欢

MySQL storage engine

果果带你写链表,小学生看了都说好

What are the work contents of operation and maintenance engineers? Can you list it in detail?
![SQL foundation 9 [grouping data]](/img/8a/a72941d8c3413316b063033a1b5038.jpg)
SQL foundation 9 [grouping data]

Zephyr study notes 2, scheduling

This article is enough for learning advanced mysql

In the era of low code development, is it still needed?
![[thread pool]](/img/de/d19897bdcfd65026cfe2a23c41b8c0.jpg)
[thread pool]
![[C language] open the door of C](/img/e0/2f107966423d6492c39995c77a445e.jpg)
[C language] open the door of C

Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
随机推荐
【FreeRTOS】FreeRTOS學習筆記(7)— 手寫FreeRTOS雙向鏈錶/源碼分析
Adaptive spatiotemporal fusion of multi-target networks for compressed video perception enhancement
There is no Chinese prompt below when inputting text in win10 Microsoft Pinyin input method
Set JTAG fuc invalid to normal IO port
tornado之目录
In the era of low code development, is it still needed?
【FreeRTOS】FreeRTOS学习笔记(7)— 手写FreeRTOS双向链表/源码分析
BUUCTF(4)
Electronic Association C language level 1 34, piecewise function
Status of the thread
Enter the year, month, and determine the number of days
Review of enterprise security incidents: how can enterprises do a good job in preventing source code leakage?
[network security] what is emergency response? What indicators should you pay attention to in emergency response?
L2-013 red alarm (C language) and relevant knowledge of parallel search
System architecture design of circle of friends
[MySQL transaction]
Chain ide -- the infrastructure of the metauniverse
Blue Bridge Cup Quick sort (code completion)
kubernetes集群之Label管理
Advanced MySQL: Basics (5-8 Lectures)