gdb finds it in O(1) xD On Tue, May 11, 2010 at 8:13 PM, Felipe Sodré Silva <[email protected]>wrote:
> On an unknown "segmentation fault", doing binary search with printfs is > almost always enough :) > > > On Tue, May 11, 2010 at 7:42 PM, Lev Neiman <[email protected]> wrote: > >> printing variables to standard output should be enough for algorithmic >> competitions. The solutions are always small (or relatively small), so it >> is probably not worth it to use a real debugger. >> - Lev. >> >> >> >> On Tue, May 11, 2010 at 4:03 PM, Carlos Guia <[email protected]> wrote: >> >>> I use Visual C++ mostly for it's debugger, the compiler isn't that good, >>> specially the STL implementation is rather slow (STLport is a good >>> alternative for this), but the debugger makes it worthy enough for me. >>> >>> Carlos Guía >>> >>> >>> >>> On Tue, May 11, 2010 at 3:10 PM, Douglas Drumond < >>> [email protected]> wrote: >>> >>>> On Tue, May 11, 2010 at 16:27, Mathias Grimm <[email protected]> >>>> wrote: >>>> > What c/c++ debugger they use? DDD ? >>>> > Linux enviorement. >>>> >>>> >>>> Usually GDB or printf, but this time I did in Ruby. >>>> >>>> -- >>>> Douglas Drumond >>>> >>>> -- >>>> 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]<google-code%[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]<google-code%[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]<google-code%[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]<google-code%[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.
