Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
155903 邓弘锐 打印直角三角形 C++ Accepted 15 MS 272 KB 232 2026-06-14 14:12:40

Tests(10/10):


Code:

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