| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 120353 | 毛靖平 | 打印直角三角形 | C++ | Wrong Answer | 1 MS | 264 KB | 209 | 2025-05-25 14:30:29 |
#include<iostream> using namespace std; int main(){ int a=1; for(int i=1;i<=5;i++){ for(int q=1;q<=a;q++){ cout<<"*"; } a++; cout<<endl; } return 0; }
------Input------
7
------Answer-----
* ** *** **** ***** ****** *******
------Your output-----
* ** *** **** *****