Problem
The prefix spectrum of a weighted string is the collection of all its prefix weights.
Given: A list of () positive real numbers.
Return: A protein string of length whose prefix spectrum is equal to (if multiple solutions exist, you may output any one of them). Consult the monoisotopic mass table.
给出:清单 的 ()正实数。
返回值:长度为蛋白质的字符串 其前缀频谱等于 (如果存在多个解决方案,则可以输出其中任何一种)。查阅单同位素质量表。
Sample Dataset
3524.8542 3710.9335 3841.974 3970.0326 4057.0646
Sample Output
WMQS