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

Tests(1/1):


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


测评信息: