Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
138170 张咏灏 打印直角三角形 C++ Presentation Error 10 MS 272 KB 209 2025-11-23 16:56:03

Tests(0/10):


Code:

#include<iostream> using namespace std; int main(){ int a; cin>>a; for(int i=0;i<=a;i++){ for(int j=0;j<i;j++){ cout<<"*"; } cout<<endl; } return 0; }