Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5509 D班-罗炜翰 倒三角形 C++ 解答错误 0 1 MS 264 KB 229 2025-02-09 17:37:02

Tests(0/5):


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


测评信息: