Re: [algogeeks] Re: help me debug this

2011-01-17 Thread juver++
Redirect your output to the file, and you'll see that at the end of line you have extra blank. You need to write something like this (in all sections): for(i=j;i<(j+2*C-1);i++) { if (i != j) printf(" "); printf("%d",s[i]); // note there is no space } -- You received this message because you ar

Re: [algogeeks] Re: help me debug this

2011-01-17 Thread ankit sablok
i improved upon my code but still i get a presentation error dunno wts the judge judging it shows me the correct way when i output test cases on my compiler but on the judge it says wrong answer or presentation error #include #include #include #include #include using namespace std; int prime(int