| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 316908 | gyszmengtongyu25 | 星号三角阵(三) T2 | C++ | 通过 | 5 MS | 700 KB | 254 | 2026-04-17 16:55:50 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; for(int i = 0;i < n;i++){ for(int j = 1;j <= i;j++){ cout << ' '; } for(int j = 1;j <= n - i;j++){ cout << '*'; } cout << '\n'; } return 0; }