游客 Signup | Login
中文 | En

2758 - 树

打印图形


Input

Output

Examples

Input

no input needed

Output

    *
   ***
  *****
 *******
*********
   ***
   ***
   ***
   ***

Solution C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	cout<<"    *"<<endl;
	cout<<"   ***"<<endl;
	cout<<"  *****"<<endl;
	cout<<" *******"<<endl;
	cout<<"*********"<<endl;
	cout<<"   ***"<<endl;
	cout<<"   ***"<<endl;
	cout<<"   ***"<<endl;
	cout<<"   ***"<<endl;
	return 0;
}
Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题