当前位置:网站首页>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
边栏推荐
- Cobalt Strike特征修改
- Redis core technology and basic architecture of actual combat: what does a key value database contain?
- Is the test cycle compressed? Teach you 9 ways to deal with it
- Qt:无法定位程序输入点XXXXX于动态链接库。
- Set the print page style by modifying style
- Today's summer solstice
- Black cat takes you to learn UFS protocol Chapter 18: how UFS configures logical units (Lu Management)
- JDBC requset corresponding content and function introduction
- Still worrying about how to write web automation test cases? Senior test engineers teach you selenium test case writing hand in hand
- Simulation volume leetcode [general] 1447 Simplest fraction
猜你喜欢
Changes in the number of words in English papers translated into Chinese
私人云盘部署
端午节快乐Wish Dragon Boat Festival is happy
Engineering organisms containing artificial metalloenzymes perform unnatural biosynthesis
[ 英语 ] 语法重塑 之 英语学习的核心框架 —— 英语兔学习笔记(1)
Summary of leetcode's dynamic programming 4
利用快捷方式-LNK-上线CS
org. activiti. bpmn. exceptions. XMLException: cvc-complex-type. 2.4. a: Invalid content beginning with element 'outgoing' was found
Phishing & filename inversion & Office remote template
商标翻译有什么特点,如何翻译?
随机推荐
Remember the implementation of a relatively complex addition, deletion and modification function based on jeecg-boot
How to translate biomedical instructions in English
Convert the array selected by El tree into an array object
Drug disease association prediction based on multi-scale heterogeneous network topology information and multiple attributes
Difference between backtracking and recursion
Changes in the number of words in English papers translated into Chinese
ECS accessKey key disclosure and utilization
[ 英语 ] 语法重塑 之 动词分类 —— 英语兔学习笔记(2)
模拟卷Leetcode【普通】1405. 最长快乐字符串
Summary of leetcode's dynamic programming 4
LeetCode 732. My schedule III
模拟卷Leetcode【普通】1296. 划分数组为连续数字的集合
CS-证书指纹修改
A 27-year-old without a diploma, wants to work hard on self-study programming, and has the opportunity to become a programmer?
Cobalt Strike特征修改
PHP uses redis to implement distributed locks
红蓝对抗之流量加密(Openssl加密传输、MSF流量加密、CS修改profile进行流量加密)
基于JEECG-BOOT的list页面的地址栏参数传递
Esp32 esp-idf watchdog twdt
模拟卷Leetcode【普通】1091. 二进制矩阵中的最短路径