I am trying this sum on spoj and getting a WA...i can't find what case may be giving a WA...this is the solution...can ne pls find a case where this solution is failing or maybe point out a mistake in the solution. I have used GOTO statements please don't mind it..:P i myself don't like it but had to use it!!!
↧