gdb finds it in O(1) xD On Tue, May 11, 2010 at 8:13 PM, Felipe Sodré Silva <fso...@gmail.com>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 <lev.nei...@gmail.com> 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 <zyx3d...@gmail.com> 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 < >>> drumond.doug...@gmail.com> wrote: >>> >>>> On Tue, May 11, 2010 at 16:27, Mathias Grimm <mathiasgr...@gmail.com> >>>> 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 google-c...@googlegroups.com. >>>> To unsubscribe from this group, send email to >>>> google-code+unsubscr...@googlegroups.com<google-code%2bunsubscr...@googlegroups.com> >>>> . >>>> 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 google-c...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> google-code+unsubscr...@googlegroups.com<google-code%2bunsubscr...@googlegroups.com> >>> . >>> 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 google-c...@googlegroups.com. >> To unsubscribe from this group, send email to >> google-code+unsubscr...@googlegroups.com<google-code%2bunsubscr...@googlegroups.com> >> . >> 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 google-c...@googlegroups.com. > To unsubscribe from this group, send email to > google-code+unsubscr...@googlegroups.com<google-code%2bunsubscr...@googlegroups.com> > . > 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 google-c...@googlegroups.com. To unsubscribe from this group, send email to google-code+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-code?hl=en.