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

Tests(20/20):


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


测评信息: