金山办公2024届秋招-C++(A)1008笔试
第一题
给你一个带空格的字符串,找出“NiuNiu”
的位置,如找不到返回-1
。
示例一:
输入:NiuNiu hahah
输出:0
示例二:
输入:hahah
输出:-1
#include <bits/stdc++.h> using namespace std; int main() { string s; getline(cin, s); size_t index = s.find("NiuNiu"); if (index == string::npos) { cout << -1 << endl; } else { cout << index << endl; } }
第二题
先给出一个n
,然后给出n
个字符串,判断这些字符串一共有多少种模式。
一种模式定义为构成字符串的字母数量都是相同的,顺序可不同。
示例一:
输入:4
abcd
bcad
dcba
bdca
输出:1
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; unordered_set<string> se; while (n--) { string s; cin >> s; sort(s.begin(), s.end()); se.insert(s); } cout << se.size() << endl; }
第三题
给出一个N
,画圣诞树。
示例一:
输入:1
输出: *
* *
* * *
*
示例二:
输入:2
输出:
示例三:
输入:3
输出:
示例四:
输入:4
输出:
提示:
那就,直接手绘 ^_^
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; if (n == 1) { cout << " * \n"; cout << " * * \n"; cout << "* * *\n"; cout << " *\n"; } else if (n == 2) { cout << " * \n"; cout << " * * \n"; cout << " * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << "* * * * * *\n"; cout << " *\n"; cout << " *\n"; } else if (n == 3) { cout << " * \n"; cout << " * * \n"; cout << " * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << "* * * * * * * * * * * *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; } else if (n == 4) { cout << " * \n"; cout << " * * \n"; cout << " * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << "* * * * * * * * * * * * * * * * * * * * * * * *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; } else if (n == 5) { cout << " * \n"; cout << " * * \n"; cout << " * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << "* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; } else if (n == 6) { cout << " * \n"; cout << " * * \n"; cout << " * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << "* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; } else if (n == 7) { cout << " * \n"; cout << " * * \n"; cout << " * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << "* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; } else { cout << " * \n"; cout << " * * \n"; cout << " * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n"; cout << " * * \n"; cout << " * * * * \n"; cout << " * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \n"; cout << "* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; cout << " *\n"; } } // 64 位输出请用 printf("%lld")#金山wps##笔试题解##金山笔试#