Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
7491 | huangyunkai | 对齐输出 | C++ | 输出格式错误 | 0 MS | 240 KB | 190 | 2023-02-04 10:52:31 |
#include<bits/stdc++.h> using namespace std; int main(){ cout.setf(ios::right); int a,b,c; cin>>a>>b>>c; cout<<setw(8)<<a<<setw(8)<<b<<setw(8)<<c; return 0; }