Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
150584 周泽洋 打印反直角三角形 C++ Presentation Error 13 MS 272 KB 355 2026-03-28 18:10:25

Tests(0/10):


Code:

#include<iostream> #include<cstdio> #include<cstring> #include<cmath> using namespace std; int main(){ int i,a,c=0,o,b,w=1; cin>>o; for(b=1;b<=o;b++) c++; for(a=1;a<=c;a++){ for(i=1;i<=w;i++){ cout<<"*"; } w++; cout<<endl; } return 0; }