使用cout打印的时候,有时会出现下面的样子,但是我们不想使用科学计数法。
#include <bits/stdc++.h>
using namespace std;
int main()
{
cout << pow(9,9) << endl;
cout << fixed << setprecision(0)<<pow(9,9);
return 0;
}
使用cout打印的时候,有时会出现下面的样子,但是我们不想使用科学计数法。
#include <bits/stdc++.h>
using namespace std;
int main()
{
cout << pow(9,9) << endl;
cout << fixed << setprecision(0)<<pow(9,9);
return 0;
}