Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
120356 毛靖平 打印直角三角形 C++ Accepted 12 MS 272 KB 224 2025-05-25 14:32:27

Tests(10/10):


Code:

#include<iostream> using namespace std; int main(){ int a,b=1; cin>>a; for(int i=1;i<=a;i++){ for(int q=1;q<=b;q++){ cout<<"*"; } b++; cout<<endl; } return 0; }