正确解决问题才算真正解决。
最严重类型的编程错误是程序在语法上正确但无论如何却导致错误结果的产生或者根本无法产生结果。 这种因为逻辑错误无法正确解决问题的错误类型,称为Bug。
The most serious type of programming error is one that is syntactically correct but that
这虽不能解决问题,却是朝正确方向迈出的一步。
This won't solve the problem but it's a step in the right direction.
Now, as obvious a statement as that is in this algorithm, it turns out that is the key to this whole problem being solved correctly without my algorithm looping infinitely.
这是此算法中很明显的一句话,也是正确解决,整个问题的关键,否则此算法就会陷入死循环。
I'll let you chase it through, it does work. What I want to look at is, what's the order of growth here?
我会让你们去运行这个方法的,确实能得到正确答案,我想问的是,这个解决问题的方法的增长率是什么?
Everybody knows the water would continue in a straight line, suggesting that when you have experience that helps you out, but in absence of experience you're kind of lost.
所有人都知道水会继续沿直线喷出,这说明经验能够帮助你正确解决问题,但缺乏经验会使你感到困惑
应用推荐