#abc218b. B - qwerty
B - qwerty
Score : points
问题描述
给定一个包含从 到 的整数的序列 ,其中保证 中的所有元素都是互不相同的。
输出一个长度为 的字符串 ,满足以下条件:
- 对于所有 , 中的第 个字符是字母表中按字母顺序排列时位于第 位置的小写英文字母。
以上为通义千问 qwen-max 翻译,仅供参考。
Problem Statement
You are given a sequence of integers consisting of integers from through . It is guaranteed that all elements in are distinct.
Print a string of length that satisfies the following condition.
- For every , the -th character of is the lowercase English letter that comes -th in alphabetical order.
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the string .
Sample Input 1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
Sample Output 1
abcdefghijklmnopqrstuvwxyz
Sample Input 2
2 1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
Sample Output 2
bacdefghijklmnopqrstuvwxyz
Sample Input 3
5 11 12 16 25 17 18 1 7 10 4 23 20 3 2 24 26 19 14 9 6 22 8 13 15 21
Sample Output 3
eklpyqragjdwtcbxzsnifvhmou
update @ 2024/3/10 09:38:31