Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
63359 祝家懿 打印直角三角形 C++ Accepted 13 MS 276 KB 202 2024-01-07 16:18:04

Tests(10/10):


Code:

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