| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 63002 | 冯纪尧 | 打印反直角三角形 | C++ | Presentation Error | 12 MS | 272 KB | 258 | 2023-12-31 10:51:33 |
#include<iostream> #include<cstring> using namespace std; int main(){ int n; cin>>n; int sum=0; for(int j=0;j<n;j++){ for(int i=0;i<n-j;i++){ cout<<" "; } for(int i=0;i<j+1;i++){ cout<<"*"; } cout<<endl; } }