Problem A: 自调用函数-输出n个n

Problem A: 自调用函数-输出n个n

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 14  Solved: 13
[Status] [Submit] [Creator:]

Description

设计一个 f(int n, int i = 0) 函数,用于输出 n 个 n。


要求f函数内部不能使用 for 循环,while 循环, do-while循环的语句。


主函数部分为
int main() {
  int n;
  cin >> n;
  f(n);
  return 0;
}


Input

一个整数 n(1 ≤ n ≤ 20)。

Output

输出共一行,包含 n 个 n,两两之间没有空格。

Sample Input Copy

6

Sample Output Copy

666666

HINT

自调用函数一定要有终点,也就是结束条件(退出条件),否则会进入无限调用永远停不下来,类似于无限循环(死循环)。