#5001. Print 341

0
    ID: 5001 传统题 2000ms 1024MiB 尝试: 0 已通过: 0 难度: 1 上传者: 标签>AtCoderabc341AGESP 1级枚举(单层循环)模拟

Print 341

Print 341

题目描述

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

输入格式

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

输出格式

Print the answer.

4
101010101
1
101
10
101010101010101010101

提示

NN is an integer. 1≤N≤1001 \leq N \leq 100A string of four zeros and five ones where 00 and 11 alternate is 101010101101010101.

标签: AtCoder|abc341A

来源

AtCoder|abc341A