Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
91370 | 罗迎甲 | 打印直角三角形 | C++ | Wrong Answer | 0 MS | 260 KB | 171 | 2024-09-21 17:08:36 |
#include<bits/stdc++.h> using namespace std; int main() { int n,i,z; for(i=1;i<=n;i++){ for(z=1;z<=i;z++) cout<<"*"; cout<<endl; } return 0; }
------Input------
7
------Answer-----
* ** *** **** ***** ****** *******
------Your output-----