Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
33594 | www.luogu.com | 【入门】图形输出2 | C++ | 输出格式错误 | 0 MS | 248 KB | 260 | 2023-12-30 16:48:58 |
#include <bits/stdc++.h> using namespace std; int main(){ double n,m,i; cin>>n>>m; i=n; for(int u=0;u<n;u++){ i--; for(int p=0;p<=i;p++){ cout<<' '; } for(int o=0;o<m;o++){ cout<<'*'<<' '; } cout<<'\n'; } }