Some Simple Mistakes I had
Posted Shallow Grey
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Some Simple Mistakes I had相关的知识,希望对你有一定的参考价值。
This week, I had some mistakes. It is really hard to say:
#1 py business what‘s happening
l = abs(px[x] - bl); r = abs(px[x] - br); t = abs(py[x] - bt); b = abs(pxpy[x] - bb);
How can I felt smooth while typing these codes? Everyone will punch me!!!
#2 arrays must be bigger
int n, m, a, b, vx[maxn*maxn], vy[maxn*maxn], hx[maxn*maxn], hy[maxn*maxn];
I had made it so small so I only got 10 points.
After I made it larger, it passed!! I am na?ve!
#3 if() -> while()
bool bitechar() { char s; s = getchar(); ifwhile (s != ‘#‘ && s != ‘.‘) s = getchar(); if (s == ‘#‘) return true; return false; }
No wonder dph wants to punch me.
So I can do better. :)
以上是关于Some Simple Mistakes I had的主要内容,如果未能解决你的问题,请参考以下文章
C++ basic salient points that I made mistakes on
Mistakes I Made(as a developer)...大龄程序员的忠告...(部分转...)