游客 Signup | Login
中文 | En

2404 - 输出图形 VI

让计算机显示如下图形

A
I*
I**
I***
I****
I*****
I
I
I
I

注意,每行的最后都有一个换行符。

Input

本题无输入。

Output

让计算机显示如下图形

A
I*
I**
I***
I****
I*****
I
I
I
I

注意,每行的最后都有一个换行符。

Examples

Input

本题无输入样例

Output

A
I*
I**
I***
I****
I*****
I
I
I
I

Solution C

#include<stdio.h>

int main()
{
    printf("A\n");
    printf("I*\n");
	printf("I**\n");
	printf("I***\n");
	printf("I****\n");
	printf("I*****\n");
	printf("I\n");
	printf("I\n");
	printf("I\n");
	printf("I\n");
	return 0;
} 

Solution C++

#include<stdio.h>

int main()
{
	printf("A\n");
	printf("I*\n");
	printf("I**\n");
	printf("I***\n");
	printf("I****\n");
	printf("I*****\n");
	printf("I\n");
	printf("I\n");
	printf("I\n");
	printf("I\n");
	return 0;
}
Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题