Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
127180 葛锦东 打印直角三角形 C++ Wrong Answer 0 MS 260 KB 226 2025-07-25 14:58:58

Tests(0/10):


Code:

#include <bits/stdc++.h> using namespace std; int main() { for (int n = 1; n <= 4; n++) { for (int i = 1; i <= n; i++) { cout << i << "*" << n<< "=" << i * n << " "; } } cout << endl; return 0; }


Run Info:

------Input------
7
------Answer-----
* ** *** **** ***** ****** *******
------Your output-----
1*1=1 1*2=2 2*2=4 1*3=3 2*3=6 3*3=9 1*4=4 2*4=8 3*4=12 4*4=16