Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
111982 朱安然 打印直角三角形 C++ Accepted 10 MS 272 KB 217 2025-03-08 11:42:38

Tests(10/10):


Code:

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