Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5534 汪天一 画三角 C++ 输出格式错误 0 0 MS 248 KB 247 2020-08-14 11:39:18

Tests(0/1):


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


测评信息: