@Mayank coding style not seems gud.. try this... int main() { int testCases; scanf("%d",&testCases); while(testCases-->0) { //perform ur logic //print output for each test case here instead of storing it into an array. } } return 0; }
On Thu, Jun 21, 2012 at 10:35 PM, Mayank Singh <singh13490may...@gmail.com>wrote: > > > thanx it worked.... > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Thanks & Regards Amritpal singh -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.