HBC210241NeoMoleSynthesis题解 (每日一词:molecules)

arkfactor 算法基础篇 34 0
想要成为编程高手?那就来试试全网最全C++题库,让您在练习中快速成长。
The chemists have just conceived a large category of molecules, named NeoMole. The exceptionally outstanding properties of these molecules make them potential medicine for the current influenzal pneumonia. Theoretically speaking, a NeoMole molecule consists of only one chemical element, neonium. The neonium atoms are connected by regular chemical bonds in a NeoMole molecule. Unlike carbon, the number of atoms connected to a neonium atom by chemical bonds is, surprisingly, unlimited. Also, the molecule structure is acyclic. The scientists want to synthesize some NeoMoles, using small NeoMole molecules as substrates . To synthesize big molecules, one can choose two molecules, which can be either substrates or previously synthesized molecules, and specify an atom for each molecule. After some mysterious chemical reactions, a new chemical bond will form between the specified atoms. Because the NeoMoles are really precious, scientists want to minimize their total cost on substrates. Can you write a program to help them find the optimal synthesis plan?Do not miss the opportunity to earn big money!

The chemists have just conceived a large category of molecules, named NeoMole. The exceptionally outstanding properties of these molecules make them potential medicine for the current influenzal pneumonia. Theoretically speaking, a NeoMole molecule consists of only one chemical element, neonium. The neonium atoms are connected by regular chemical bonds in a NeoMole molecule. Unlike carbon, the number of atoms connected to a neonium atom by chemical bonds is, surprisingly, unlimited. Also, the molecule structure is acyclic. The scientists want to synthesize some NeoMoles, using small NeoMole molecules as substrates (i.e., raw materials). To synthesize big molecules, one can choose two molecules, which can be either substrates or previously synthesized molecules, and specify an atom for each molecule. After some mysterious chemical reactions, a new chemical bond will form between the specified atoms. Because the NeoMoles are really precious, scientists want to minimize their total cost on substrates. Can you write a program to help them find the optimal synthesis plan? Do not miss the opportunity to earn big money!

HBC210241NeoMoleSynthesis题解
(每日一词:molecules)-第1张图片-东莞河马信息技术
(图片来源网络,侵删)
不断挑战自我,才能突破极限!全网最全C++题库,让您在编程道路上越走越远。

标签: HBC210241NeoMoleSynthesis题解