Summary: Simulation

Source: Internet
Author: User

Tips and notes:

Details are very important. If you want to figure out a simulated question, there must be a reason for it ~ The question maker will surely put a lot of pitfalls for you, so you must have a rough idea framework before coding, and then think about it in writing code.

For example: [bzoj] 3300: [usaco Feb] Best parenthesis (simulation)

At first, I did not pay attention to the boundary issue, so wa was always exploding. Do not commit this problem any more. Do not rush to compile the problem after completing the code, check the static error first, and finally find that there is no error before compiling.

Also, if some boundaries are not well handled, big data is not wa or Re, so it is best to create big data on your own. At the same time, extreme data contains the largest and smallest data, so we need to prepare the largest and the smallest data.

 

Summary: Simulation

Related Article

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.