Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
95589 | 谭思宸 | 04保留两位小数 | C++ | Wrong Answer | 1 MS | 264 KB | 174 | 2024-10-30 19:45:54 |
#include <iostream> #include <iomanip> int main() { double num = 3.14159; std::cout << std::fixed << std::setprecision(2) << num << std::endl; return 0; }
------Input------
0 8
------Answer-----
0.00
------Your output-----
3.14