Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
156041 孔声豪 打印反直角三角形 C++ Output Limit Exceeded 3 MS 268 KB 264 2026-06-20 10:59:04

Tests(0/10):


Code:

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