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

Tests(20/20):


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


测评信息: