题目链接:点击跳转
代码如下:
#include<iostream>
#include<iomanip>
#include<cmath>
using namespace std;
int main(void) {
dou
本文通过一道1093信息学奥赛题目,介绍如何使用C++中的`cout`指令保留小数点后两位进行输出。代码展示了解题思路和实现方法。
题目链接:点击跳转
代码如下:
#include<iostream>
#include<iomanip>
#include<cmath>
using namespace std;
int main(void) {
dou
753
4万+
7265
12万+

被折叠的 条评论
为什么被折叠?