题解 | 疫情死亡率

疫情死亡率

https://www.nowcoder.com/practice/30ccb6041bce43c6989b910dc46d391c

const rl = require("readline").createInterface({ input: process.stdin });

rl.on("line", (input) => {
    let inputs = input.split(" ");
    console.log(
        ((parseInt(inputs[1]) / parseInt(inputs[0])) * 100).toFixed(3) + "%"
    );
    rl.close();
});

全部评论

相关推荐

2025-12-26 14:44
复旦大学 Java
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务