Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
341062 丁虞轩 【C4-T】拐角VI C++ 通过 100 2 MS 240 KB 224 2025-08-17 14:07:29

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int n; int main(){ cin>>n; for(int j=n;j>=1;j--){ for(int i=1;i<=n;i++){ if(i<=j)cout<<setw(3)<<i; else cout<<setw(3)<<j; } cout<<endl; } return 0; }


测评信息: