Description: Optional use arrays to store data.* X,* y respectively, into the geographical coordinates of the Observatory, temp erature information is loaded,* tpx,* tpy respectively used for x, y quick sort (tpx [2] = 8 means that in the first two rows of the is x [8], rank [8] = 2 means that x [8] ranked No. 2) ascending, rankx [i] shall be final and x [i] in the rankings. In order to facilitate the calculation of the temperature within a range that defines a long long type array sum. Point p is smaller than the calculated points (not including the point p itself) of all temperature values and the sum, sum the four points of the range after the addition and subtraction, then do not handle a small number of points can be obtained and a temperature within the range. sum [i] [j] represents the rankx = i, ranky = j the temperature of the lower left, the equivalent of a hashtable (mappings)
To Search:
File list (Check if you may need any files):
temperature_lib.c
Temperature.cpp
temperature.h