Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
151141 丁昭臣 打印直角三角形 C++ Wrong Answer 1 MS 276 KB 195 2026-04-08 18:52:18

Tests(0/10):


Code:

#include<iostream> using namespace std; int main(){ int m,n=1; cin>>m; for(int i=1;i<=m;i++) { for(int j=1;j<=n;j++){ cout<<'6'<<' '; } cout<<endl; n++; } return 0; }


Run Info:

------Input------
7
------Answer-----
* ** *** **** ***** ****** *******
------Your output-----
6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6