Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
315809 董睿腾 星号三角阵(三) T2 C++ 输出超限 4 MS 700 KB 365 2026-04-13 18:09:38

Tests(0/10):


#include <bits/stdc++.h> using namespace std; char a[105][105]; int main() { int n; cin>>n; for(int i=n;i>=1;i--) { for(int j=1;j<=i;j++) { a[i][j]='*'; } } for(int i=n;i>=n;i++) { for(int j=i;j>=1;j--) { cout<<a[i][j]; } } return 0; }


测评信息: