|
发表于 2014-6-12 15:34:23
|
显示全部楼层
很明显 发表于 2014-2-28 13:53
小题写完就该能compile,一点都不能错
你这bug就至少3个,每个都vital,加上多余的variable ...
A nice person would simply say:
you forgot to put 'return result'.
AND for godness sake, you use a bloody IDE in real work.
Any IDE will indicate that there is an unused boolean variable.
AND where is this third bug you are talking about?
AND why should this piece of code I wrote for fun have to work???
I thought we are discussing algorithm here.
Real work is different from University where you have to write code on a piece of paper and it just can't be wrong.
Get out of Uni and do some work. |
|