Seg fault means you are trying to access memory which you aren't supposed to or does not exist. So check your loops.
Sent from my BlackBerry -----Original Message----- From: shubham <[email protected]> Sender: [email protected] Date: Thu, 12 May 2011 05:28:03 To: google-codejam<[email protected]> Reply-To: [email protected] Subject: [gcj] Re: Segmentation fault with push_back() The program runs for some test cases and then the segmentation fault occurs.. -- You received this message because you are subscribed to the Google Groups "google-codejam" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-code?hl=en. -- You received this message because you are subscribed to the Google Groups "google-codejam" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-code?hl=en.
