| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 88906 | hansuyang | 对齐输出 | C++ | Accepted | 1 MS | 236 KB | 258 | 2026-05-19 12:34:50 |
#include <iostream> #include <iomanip> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; cout<<setw(7)<<a<<setw(7)<<b<<setw(7)<<c<<endl;//setw(7),使下一个输出按7个字符的宽度,右对齐。 return 0; }