#abc336a. A - Long Loong
A - Long Loong
Score: points
问题描述
对于一个正整数 ,龙字符串(Dragon String)的级别为 是由一个 L
, 个 o
,一个 n
以及一个 g
以该顺序排列组成的长度为 的字符串。
给定一个正整数 ,请打印出级别为 的龙字符串。 注意,区分大小写。
以上为通义千问 qwen-max 翻译,仅供参考。
Problem Statement
For a positive integer , the Dragon String of level is a string of length formed by one L
, occurrences of o
, one n
, and one g
arranged in this order.
You are given a positive integer . Print the Dragon String of level .
Note that uppercase and lowercase letters are distinguished.
Constraints
- is an integer.
Input
The input is given from Standard Input in the following format:
Output
Print the Dragon String of level .
Sample Input 1
3
Sample Output 1
Looong
Arranging one L
, three o
s, one n
, and one g
in this order yields Looong
.
Sample Input 2
1
Sample Output 2
Long
update @ 2024/3/10 01:24:48