|  | 
|  | 
| back to board | @Admins: please correct the limits ""The first line contains a number M, 1 < M ≤ 14000. Then values (N integers) measured by the device follow each one in its line. There is a number −1 in the end. M ≤ N ≤ 25000. """
 Limit of M is defined twice here,2nd one is correct.
Re: @Admins: please correct the limits I think you are wrong.These two boundary conditions have following meaning. If N <= 14000 so M <= N, if 14000 < N <= 25000, so M <= 14000.
Re: @Admins: please correct the limits M ≤ N ≤ 25000 also mean that M ≤ N. (or not?)
 in example m = 3
 
 and n can be 0.
 
 M ≤ N not correct in this case.
 
 anyway this is has no difference for solve task, but:
 
 need to avoid ambiguity/comfuse.
 
 Edited by author 29.08.2012 18:03
 | 
 | 
|