Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
63360 邸礼诚 打印直角三角形 C++ Wrong Answer 2 MS 276 KB 178 2024-01-07 16:18:42

Tests(0/10):


Code:

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


Run Info:

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