Mistakes Collection I

Symbol =>'s meaning:
what it used to be like => what it should be.

1) mistake array subscript: too small

a[n][2 * n] => a[2 * n][2 * n] => a[2 * n][2500]

2) mistake array visit

In this case, array is defined int tri[N][2].

tri[n][i] => tri[n][f]

3) mistake compare expression

if ('a' <= x <= 'z') do...
=> if ('a' <= x && x <= 'z') do...

Post author 作者: Grey
Copyright Notice 版权说明: Except where otherwise noted, all content of this blog is licensed under a CC BY-NC-SA 4.0 International license. 除非另有说明,本博客上的所有文章均受 知识共享署名 - 非商业性使用 - 相同方式共享 4.0 国际许可协议 保护。
原文地址:https://www.cnblogs.com/greyqz/p/7305432.html