·2,447,543篇论文数据,部分数据来源于NoteExpress
为了比较两种语言,人们通常用两种语言编写同一个算法,但在特殊情况下,这样并不公平。
To compare two languages, one typically would write the same algorithm in the two languages, but in this particular case, it would not be fair.
采用动态规划法和贪心法对该问题进行求解,分析和比较这两种算法在求解同一问题时的差异。
This paper adopts dynamic programming method and greedy method to solve such problems, then analyzes and compares the differences of two algorithms.
通过把两种算法结果进行比较,表明迭代算法简捷、运行较快、且能达到一定的精度。
The comparison makes it clear that the iterated algorithm is concise, precise and quick in bring into effect.
应用推荐