Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
129321 周荣浩 打印直角三角形 C++ Accepted 16 MS 268 KB 214 2025-08-24 10:11:13

Tests(10/10):


Code:

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