\ (csp \) a stupid mistake and reflection simulation game.
1. did not open \ (longlong \) .
Reflection: Note that the data type and data range.
2. The array bounds (twice before not open to the star array, a data range of questions applied to another title).
Reflection: Note that the data range and limit data.
3. unsubstituted mold without the mold being taken modulo.
Reflection: Carefully read the title! ! ! .
4. Multi \ (Case \) , is not empty, not wrap.
Reflection: pay attention to the multi-sample test copy a few times.
5. Memory Limit. . .
Reflection: Note that the memory test.
6. Commission statement is not deleted.
Reflection: pay attention to check and try to use \ (cerr \) .
7. algorithmic problems
Reflection: segmentation and to take note, the question must be greedy to shoot! ! !
1. Note that each question on the data range and shoot! ! !
2. Do not ever change the code last time, very easy to mistake
3. cautious plus \ (inline \)
4. Note that the order of input data subject! ! !
The timing can not think of solutions may be utilized when the points lie randomized and violence
6. note cards often! ! !
Often committed \ (CE \) Error:
1. Add \ (inline \) , no return value (I often make mistakes).
2. Overload operator to add \ (const \) .
3. illegal variable name, (for uppercase variable names I basically no problem).
Note mentality problem when the exam! ! !
Should be steady, be stable, be stable, be stable, be stable, be stable to stable \ (\ times 100 \)