Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
91369 | 罗迎甲 | 打印直角三角形 | C++ | Wrong Answer | 1 MS | 256 KB | 173 | 2024-09-21 17:03:40 |
#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-----