Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
315777 LCF12345 星号三角阵(三) T2 C++ 通过 5 MS 696 KB 246 2026-04-12 16:53:10

Tests(10/10):


#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; int r=0; for(int i=1;i<=n;i++){ for(int j=1;j<=r;j++){ cout<<" "; }for(int j=i;j<=n;j++){ cout<<"*"; } r++; cout<<endl; } return 0; }


测评信息: