Re: [algogeeks] spoj shlights

2011-06-23 Thread Jitendra singh
@ kartik sachan Problem with this code is this- All GB pairs should be process in one time period On 6/23/11, kartik sachan kartik.sac...@gmail.com wrote: QUESTION LINK IS http://www.spoj.pl/problems/SHLIGHTS/ MY CODE IS GIVEN BELOW ITS IS GIVING TLEPLZZ HELP ME OUT #

[algogeeks] spoj shlights

2011-06-22 Thread kartik sachan
QUESTION LINK IS http://www.spoj.pl/problems/SHLIGHTS/ MY CODE IS GIVEN BELOW ITS IS GIVING TLEPLZZ HELP ME OUT # includecstdio # includecstring int main() { int t; char a[17]; scanf(%d,t); int i,j,k; while(t--) { int count=0; int flag=0,flag1=0;