| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5530 | 罗炜翰 | 三角形之二 | C++ | Accepted | 100 | 1 MS | 268 KB | 259 | 2025-02-09 17:50:21 |
#include<bits/stdc++.h> using namespace std; int main() { int a,n; cin>>n; for(int i = 1;i <= n;i++) { a = n - i; for(int j = 1;j <= a;j++) { cout<<' '; } for(int k = 1;k <= i;k++) { cout<<'*'; } cout<<endl; } }