Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
83014 刘慕莀 打印直角三角形 C++ Wrong Answer 0 MS 264 KB 178 2024-07-14 08:37:58

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a; int b=a; cin>>a; for(int i=0;i<=a;i++){ cout<<b*'*'; b--; } return 0; }


Run Info:

------Input------
7
------Answer-----
* ** *** **** ***** ****** *******
------Your output-----
0-42-84-126-168-210-252-294