|  | 
|  | 
| back to board | IMHO, sample output is wrong, because it works only for n=2. Is it right?Sample output is really wrong. Admins, check! >Re: Sample output is really wrong. Admins, check! Please read the problem carefully.It is stated in the condition, that the sample is really good only
 for N=2, so that's no surprise. In fact, to give a full solution in
 the sample, would be too much :-)
Yes, my AC-solution gives very big output :) | 
 | 
|