总时间限制:
1000ms
内存限制:
65536kB
描述
给定一个字符,用它构造一个对角线长5个字符,倾斜放置的菱形。
输入
输入只有一行, 包含一个字符。
输出
该字符构成的菱形.
#include <iostream>
using namespace std;
int main()
{
char c;
cin >> c;
cout << " " << c << " " << endl;
cout << " " << c << c << c << " " << endl;
cout << c << c << c << c << c << endl;
cout << " " << c << c << c << " " << endl;
cout << " " << c << " " << endl;
return 0;
}