常见致 bug 错误


1.想要 double 的结果,int/int 是不行的,要 int/(int*1.0) !!

2.多重循环中, i、j 代入错误; ++ 和 --打反。

相关