当前位置:网站首页>P5706 [deep foundation 2. Example 8] redistributing fat house water -- February 13, 2022
P5706 [deep foundation 2. Example 8] redistributing fat house water -- February 13, 2022
2022-07-06 06:34:00 【dllglvzhenfeng】
【 Deep base 2. example 8】 Then divide the fat house water - Luogu
C++ Code :
/*
P5706 【 Deep base 2. example 8】 Then divide the fat house water --2022.02.13
https://www.luogu.com.cn/problem/P5706
*/
#include <bits/stdc++.h>
#include<stdio.h>
using namespace std;
int main()
{
int n,ans02;
double t,ans01;
cin>>t>>n;
ans01=t/n;
ans02=n*2;
printf("%.3f\n%d",ans01,ans02);
return 0;
}
python3 Code :
"""
P5706 【 Deep base 2. example 8】 Then divide the fat house water (python3 Realization )
https://www.luogu.com.cn/problem/P5706
"""
t,n= map( str, input().strip().split() )
ans01=float(t)/int(n)
ans02=int(n)*2
print( "%.3f"%ans01 )
print( ans02 )
Literature retrieval and thesis writing books ( One )
https://blog.csdn.net/dllglvzhenfeng/article/details/122785815
Literature information retrieval and thesis writing books ( Two )
https://blog.csdn.net/dllglvzhenfeng/article/details/122785968
Rationalism : Mathematics photo album series books, etc
https://blog.csdn.net/dllglvzhenfeng/article/details/122788305
NOI Linux2.0 Use a series of videos
https://blog.csdn.net/dllglvzhenfeng/article/details/122784086
Video on cutting edge of science and technology and thesis writing
https://blog.csdn.net/dllglvzhenfeng/article/details/122783994
边栏推荐
- [web security] nodejs prototype chain pollution analysis
- Simulation volume leetcode [general] 1109 Flight reservation statistics
- Black cat takes you to learn EMMC Protocol Part 10: EMMC read and write operation details (read & write)
- 删除外部表源数据
- Thesis abstract translation, multilingual pure human translation
- CS通过(CDN+证书)powershell上线详细版
- Black cat takes you to learn UFS protocol Chapter 4: detailed explanation of UFS protocol stack
- 模拟卷Leetcode【普通】1219. 黄金矿工
- Set the print page style by modifying style
- 字幕翻译中翻英一分钟多少钱?
猜你喜欢
Selenium source code read through · 9 | desiredcapabilities class analysis
How much is the price for the seal of the certificate
[mqtt from getting started to improving series | 01] quickly build an mqtt test environment from 0 to 1
如何做好金融文献翻译?
Modify the list page on the basis of jeecg boot code generation (combined with customized components)
The internationalization of domestic games is inseparable from professional translation companies
生物医学英文合同翻译,关于词汇翻译的特点
How do programmers remember code and programming language?
[web security] nodejs prototype chain pollution analysis
金融德语翻译,北京专业的翻译公司
随机推荐
Defense (greed), FBI tree (binary tree)
Grouping convolution and DW convolution, residuals and inverted residuals, bottleneck and linearbottleneck
MySQL is sorted alphabetically
mysql按照首字母排序
Biomedical localization translation services
如何做好互联网金融的英语翻译
How to do a good job in financial literature translation?
MFC dynamically creates dialog boxes and changes the size and position of controls
模拟卷Leetcode【普通】1143. 最长公共子序列
MFC关于长字符串unsigned char与CString转换及显示问题
SQL Server manager studio(SSMS)安装教程
E-book CHM online CS
查询字段个数
Simulation volume leetcode [general] 1109 Flight reservation statistics
Qt:无法定位程序输入点XXXXX于动态链接库。
Apple has open source, but what about it?
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
Simulation volume leetcode [general] 1296 Divide an array into a set of consecutive numbers
Office-DOC加载宏-上线CS
An article was uncovered to test the truth of outsourcing companies