#abc341a. A - Print 341

A - Print 341

Score: 100100 points

问题描述

给定一个正整数 NN,打印一个包含 NN 个零和 N+1N+1 个一的字符串,其中 01 交替出现。

以上为通义千问 qwen-max 翻译,仅供参考。

Problem Statement

Given a positive integer NN, print a string of NN zeros and N+1N+1 ones where 0 and 1 alternate.

Constraints

  • NN is an integer.
  • 1N1001 \leq N \leq 100

Input

The input is given from Standard Input in the following format:

NN

Output

Print the answer.

Sample Input 1

4

Sample Output 1

101010101

A string of four zeros and five ones where 0 and 1 alternate is 101010101.

Sample Input 2

1

Sample Output 2

101

Sample Input 3

10

Sample Output 3

101010101010101010101

update @ 2024/3/10 01:33:50