Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5504 老师 画三角 C++ 通过 100 0 MS 256 KB 222 2020-08-14 10:29:41

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int n,m; cin>>n; while(n--){ cin>>m; for(int i=1;i<=m;i++){ for(int j=1;j<=i;j++) cout<<"*"; cout<<endl; } cout<<endl; } return 0; }


测评信息: