当前位置:网站首页>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
边栏推荐
- Testing of web interface elements
- Making interactive page of "left tree and right table" based on jeecg-boot
- 模拟卷Leetcode【普通】1296. 划分数组为连续数字的集合
- Oscp raven2 target penetration process
- QT: the program input point xxxxx cannot be located in the dynamic link library.
- Technology sharing | common interface protocol analysis
- Grouping convolution and DW convolution, residuals and inverted residuals, bottleneck and linearbottleneck
- 模拟卷Leetcode【普通】1447. 最简分数
- Summary of leetcode's dynamic programming 4
- Address bar parameter transmission of list page based on jeecg-boot
猜你喜欢

Advanced MySQL: Basics (1-4 Lectures)

Traffic encryption of red blue confrontation (OpenSSL encrypted transmission, MSF traffic encryption, CS modifying profile for traffic encryption)

Chinese English comparison: you can do this Best of luck

Modify the list page on the basis of jeecg boot code generation (combined with customized components)
![[ 英语 ] 语法重塑 之 英语学习的核心框架 —— 英语兔学习笔记(1)](/img/02/41dcdcc6e8f12d76b9c1ef838af97d.png)
[ 英语 ] 语法重塑 之 英语学习的核心框架 —— 英语兔学习笔记(1)

中英对照:You can do this. Best of luck祝你好运

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

How to do a good job in financial literature translation?

Apple has open source, but what about it?

LeetCode每日一题(971. Flip Binary Tree To Match Preorder Traversal)
随机推荐
Error getting a new connection Cause: org. apache. commons. dbcp. SQLNestedException
leetcode 24. 两两交换链表中的节点
Simulation volume leetcode [general] 1414 The minimum number of Fibonacci numbers with a sum of K
Grouping convolution and DW convolution, residuals and inverted residuals, bottleneck and linearbottleneck
Oscp raven2 target penetration process
论文摘要翻译,多语言纯人工翻译
MFC on the conversion and display of long string unsigned char and CString
商标翻译有什么特点,如何翻译?
论文翻译英译中,怎样做翻译效果好?
leetcode 24. Exchange the nodes in the linked list in pairs
Summary of leetcode's dynamic programming 4
SourceInsight Chinese garbled
这些年用Keil遇到的坑
A 27-year-old without a diploma, wants to work hard on self-study programming, and has the opportunity to become a programmer?
University of Manchester | dda3c: collaborative distributed deep reinforcement learning in swarm agent systems
How to extract login cookies when JMeter performs interface testing
Py06 dictionary mapping dictionary nested key does not exist test key sorting
Simulation volume leetcode [general] 1447 Simplest fraction
Testing of web interface elements
Selenium source code read through · 9 | desiredcapabilities class analysis