Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
50924 | fengxiaohang | 对齐输出 | C++ | 输出格式错误 | 0 MS | 248 KB | 308 | 2024-09-16 09:34:32 |
#include<iostream> #include<iomanip> using namespace std; int main(){ //Declare there integers int a, b, c; //Read input cin >> a >> b >> c; //Print the integers cout << setw(7) << a << " " << setw(7) << b << " " << setw(7) << c << endl; return 0; }