Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
156036 孔声豪 打印直角三角形 C++ Accepted 10 MS 272 KB 207 2026-06-20 10:47:00

Tests(10/10):


Code:

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