If the data is not cleared, the result may be zero and you will cry. If you don’t judge the boundary, the result may be zero and you will cry. If the greed is not proved, the result may be zero and you will also cry. You will probably cry because of the wrong sequence of dynamic programming. You must cry if you write a greater-than-equal sign as a greater than sign. Violence makes miracles and making the result consistent with the examples can help you defraud score. Violence crushes the standard calculation and the square of N is greater than one million. First of all, use arrays to store data, then it’s all luck to use DP. The enumeration leads to TLE and the recursion leads to UKE. The simulation leads to MLE and the greedy leads to CE. If you want to defraud points, you have to have a way. Remember the template of graph theory and the formula of number theory. Remember the equation of dynamic programming and the code of high precision operation. Remember the parameters of simulated annealing and the boundary of dichotomy. If you don’t remember, just input the sample. Use arrays to store data and use violence ways. Take random number. Hand shaking so that submitted code, listen to WA sound.
The ricefields’ sweet smell promises a bumper year, and you can hear the sound of WA; In the yellow plum season, rainfall on house after house, and the pond is full of WA.