提交时间:2023-02-03 00:00:29
运行 ID: 7272
#include<iostream> using namespace std; int main(){ int a,b,c,s; cin>>a>>b>>c; s=1; int aa=a; int bb=b; int cc=c; while(a>=10){ a=a/10; s=s+1; } for(int i=0;i<7-s;i++){ cout<<" "; } cout<<aa; s=1; while(b>=10){ b=b/10; s=s+1; } for(int i=0;i<7-s;i++){ cout<<" "; } cout<<bb; s=1; while(c>=10){ c=c/10; s=s+1; } for(int i=0;i<7-s;i++){ cout<<" "; } cout<<cc; return 0; }