题解 | #简单题#

简单题

https://ac.nowcoder.com/acm/problem/15185

考察格式化输出

from math import exp
t = int(input())
for _ in range(t):
    a,b,c = map(int,input().split())
    temp = b*exp(a)
    print(f"{temp:.{c}f}")

exp(x)代表的是e的x次方

全部评论

相关推荐

FieldMatching:看成了猪头顾问,不好意思
点赞 评论 收藏
分享
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务