P5706 【深基2.例8】再分肥宅水--2022.02.13
生活随笔
收集整理的這篇文章主要介紹了
P5706 【深基2.例8】再分肥宅水--2022.02.13
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
【深基2.例8】再分肥宅水 - 洛谷
C++代碼:
/* P5706 【深基2.例8】再分肥宅水--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代碼:
"""P5706 【深基2.例8】再分肥宅水(python3實現(xiàn)) https://www.luogu.com.cn/problem/P5706"""t,n= map( str, input().strip().split() )ans01=float(t)/int(n)ans02=int(n)*2print( "%.3f"%ans01 ) print( ans02 )文獻檢索與論文寫作書籍(一)
https://blog.csdn.net/dllglvzhenfeng/article/details/122785815
文獻信息檢索與論文寫作書籍(二)
https://blog.csdn.net/dllglvzhenfeng/article/details/122785968
理性派:數(shù)學(xué)寫真集系列書籍等
https://blog.csdn.net/dllglvzhenfeng/article/details/122788305
NOI Linux2.0使用系列視頻集
https://blog.csdn.net/dllglvzhenfeng/article/details/122784086
科技前沿及論文寫作相關(guān)視頻
https://blog.csdn.net/dllglvzhenfeng/article/details/122783994
?
總結(jié)
以上是生活随笔為你收集整理的P5706 【深基2.例8】再分肥宅水--2022.02.13的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: java 比较源文件_Beyond Co
- 下一篇: python最简单的账号密码验证_Pyt