T1:Lucky Transformation:
Comparing water questions, during the exam, I hit violent, the result is inexplicable CE (I am stupid), the source code is given, TLE50? ? ?
Positive solution : Find 223 and 233, and deal with other O(n).
AC
T2: Exquisite movie:
Another expectation, I was stupid and didn't fight.
Positive solution : single sharing: li × (xiyi − yi − xiyi) l_i\times (\frac{x_i}{y_i}-\frac{y_i-x_i}{y_i})li×(andixi−andiandi−xi)
按 l i × x i y i × y j − x j y j l_i\times \frac{x_i}{y_i}\times\frac{y_j-x_j}{y_j} li×andixi×andjandj−xjSort
AC
T3:Snake vs Block
15
Positive Solutions for Violence in the Exam : Ghost Animal DP
AC
T4 : Ping
I'm shivering without violence...
to sum up:
The test is not very satisfactory. You can try to figure out the correct solution for the first question. The violence must be full and the match must be matched.