সোমবার, ২৩ এপ্রিল, ২০১২

Hints for Lightoj Beginners Problem

1008
minus a square to determine several situations just fine.

1010
grid to prompt good. Light and dark. Attention to the long edge of one side of the 1 and 2, especially when one side is 2. WA countless times.

1015
demand is greater than the number of 0 and

1022
 simple elementary school geometry problems.

1042
 to find the front of the first in a 0, a 1 on the on the other one row up from the lowest position. For example, 110 011 100 become 111000011,01000 become 10000.

1045
 has done a few times 10 hex, not the children's shoes to the number of think about it, to pre-treatment, otherwise it will time-out.

1053
 judgment at right angles to right angles

1069
 simple simulation

1072 
1 and 2, especially contracting it, and other math point of view on the line.

1107 
to judge whether the point is inside the rectangle.

1109
 I first pretreatment out row of a sequence, asking directly to the output.

1113,
 the STL or good, do not forget to back and from a new point of a link, then advance the stack empty out right.

1116
 to find the largest odd and an even product equals to the number has been divided by 2

1133 
for the simple operation of the array.

1136
 No. In addition to the number 3 I 2 0 is a multiple of 3.

1182
 to see the meaning of the questions is a binary of a number of parity judgment.

1189 
from largest to smallest can be greedy.

1202
 step number difference is an odd number can not be achieved with a slope of 1 and -1 is Step 1, Step 2.
12 116 number to take the first three largest after three to take the minimum, calculate the volume do not know the situation of not less than 0, I added a special sentence, less than 0 is equal to 0.

1212
 analog two-way queue 100 open array to 300 from 150 as a starting point to both sides of the two-way queue.

1214 
high-precision division, large numbers, decimals, and very well written.

1216
 seeking the frustum of a cone volume above the circle radius r1-(r1-r2,) * (hp) / p-, school had a frustum of a cone volume formula: 1/3 * h, * (s1 + s2, the sqrt (s1 is * s2,)) No, then the two cones do.

1225
 palindrome string to read the judgment.

1227
 simple greed.
 
1241
 "When he tells a lie, his nose grows at least 1 cm and at most 5 cm." This sentence should pay attention to, a lie a maximum of only 5 cm long, and an initial 2 cm may be the first data has been lying a.
 
1249
 to find the maximum and minimum volume, the comparisons are the same.
 
1261
 analog judge can
1294 assume a set of reduction of the m and m plus m * m each group, a total of n/m/2 group, be careful not to be written as m, * m * n/m/2 the first three the number of multiply overflow.
 
1305 
simple geometric area of ​​the triangle area is multiplied by two.
 
1311
 Primary Problem.
 
1331, 
the area of ​​a triangle minus three fan-shaped.
 
1338
 open array of letters can be.
 
1354 
binary decimal conversion.
 
1387
only plus analog output. . . .
 
1414
 Rui days calculated from the year 1 to the current number of subtraction.

http://www.cnblogs.com/martin-yu/category/373974.html
http://www.haogongju.net/art/1407610
 

২টি মন্তব্য: