当前位置:网站首页>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
边栏推荐
- 基于JEECG-BOOT制作“左树右表”交互页面
- 在uni-app中使用腾讯视频插件播放视频
- My daily learning records / learning methods
- Today's summer solstice
- How effective is the Chinese-English translation of international economic and trade contracts
- 基於JEECG-BOOT的list頁面的地址欄參數傳遞
- Still worrying about how to write web automation test cases? Senior test engineers teach you selenium test case writing hand in hand
- An article was uncovered to test the truth of outsourcing companies
- PHP uses redis to implement distributed locks
- mysql按照首字母排序
猜你喜欢
英语论文翻译成中文字数变化
E-book CHM online CS
記一個基於JEECG-BOOT的比較複雜的增删改功能的實現
翻译公司证件盖章的价格是多少
[web security] nodejs prototype chain pollution analysis
Making interactive page of "left tree and right table" based on jeecg-boot
我的创作纪念日
Mise en œuvre d’une fonction complexe d’ajout, de suppression et de modification basée sur jeecg - boot
ECS accessKey key disclosure and utilization
LeetCode 732. My schedule III
随机推荐
記一個基於JEECG-BOOT的比較複雜的增删改功能的實現
模拟卷Leetcode【普通】1218. 最长定差子序列
How to translate professional papers and write English abstracts better
MySQL is sorted alphabetically
基于JEECG-BOOT的list页面的地址栏参数传递
生物医学英文合同翻译,关于词汇翻译的特点
How much is it to translate Chinese into English for one minute?
How effective is the Chinese-English translation of international economic and trade contracts
Full link voltage measurement: building three models
Black cat takes you to learn EMMC Protocol Part 10: EMMC read and write operation details (read & write)
查询字段个数
云服务器 AccessKey 密钥泄露利用
What are the characteristics of trademark translation and how to translate it?
Defense (greed), FBI tree (binary tree)
PHP uses redis to implement distributed locks
Delete the variables added to watch1 in keil MDK
如何将flv文件转为mp4文件?一个简单的解决办法
模拟卷Leetcode【普通】1219. 黄金矿工
Qt:无法定位程序输入点XXXXX于动态链接库。
如何做好互联网金融的英语翻译