#include<iostream> #include<iomanip> using namespace std; int main(){ long long a,b,c; cin>>a>>b>>c; cout<<fixed<<setw(8)<<a<<" "<<setw(8)<<b<<" "<<setw(8)<<c; return 0; }
03:对齐输出
最新推荐文章于 2024-07-28 21:35:11 发布
#include<iostream> #include<iomanip> using namespace std; int main(){ long long a,b,c; cin>>a>>b>>c; cout<<fixed<<setw(8)<<a<<" "<<setw(8)<<b<<" "<<setw(8)<<c; return 0; }