Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
33693 ZYH123 【入门】图形输出2 C++ 通过 0 MS 252 KB 245 2023-12-31 09:31:38

Tests(20/20):


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


测评信息: