小白1-B--pow exp

 

 

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

 

 

#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;
}

 

posted @ 2020-04-20 23:09  罗霖锦  阅读(112)  评论(0)    收藏  举报