Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5545 孙文谦 画三角 C++ 解答错误 0 0 MS 248 KB 280 2020-08-14 11:43:50

Tests(0/1):


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


测评信息: