码迷,mamicode.com
首页 > 其他好文 > 详细

小白1-2

时间:2020-04-20 23:42:42      阅读:71      评论:0      收藏:0      [点我收藏+]

标签:exp   space   while   nbsp   return   哈哈哈   ble   include   积累   

技术图片

 

技术图片

 

上一题积累的经验就可以用上了哈哈哈

 

 

#include<iostream>
#include<cmath>
#include<iomanip>
using namespace std;
int main() {
int t = 0;
cin >> t;
int a, b, c;
while (t--) {
cin >> a >> b >> c;
double s;
s = pow(a, exp(1));
s /= b;
cout << fixed << setprecision(c) << s << endl;
}
return 0;
}

 

小白1-2

标签:exp   space   while   nbsp   return   哈哈哈   ble   include   积累   

原文地址:https://www.cnblogs.com/luolinjin/p/12741360.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!