github address
/section>
Https://github.com/ronghuijun/3Elevators-scheduling
implementation process
At the beginning of the plan to be divided into three categories to write because of the thought of the elevator function is not the same as a can only on the 1 floor and even building a can only on the odd floor one can be intended to be in the class of the function of the later write the time to find a class is enough in the elevator when the time to judge a good implementation process And the last code is almost the same (personally feel no difference to say that the difference is judged under the circumstances of the floor) I think these two times the job seems to be similar to the number of objects is the difference (I do not know this understanding is wrong)
difficulties encountered
①emmmm See oneself last code abruptly looked for a long time did not understand what I wrote (note really important AH) this time prepared to write a note but finally did not write (high number of semi-biennial review and PTA and the usual subjects of the homework) think write comments a bit difficult not to know what to note (the elevator is the same So did not write the next time the homework is free to write (think about it)
② I think the file is a bit confused to force Baidu seems to not understand (probably know how to use the should)
③ wanted to optimize his code to make it less time-saving.
C + + third time job