C + + third time job

Source: Internet
Author: User


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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.