Hey,
I noticed lots of people were getting runtime errors in question 3 for the 
proper submission (not the sample input) as that seemed to be the main Q&A in 
the sidebar. I was using C# and I encountered the same problem.

I'm kind of clueless as to what caused it as there is no stack trace when 
submitting. This was my attempt:
https://gist.github.com/BurkusCat/3afe80dc877cb78184059197b609127b
(I had to add line 18 to make sure I could read in more than 254 characters, I 
feel like that may have been a runtime error people would have encountered with 
some of the bigger inputs?)

I constructed as best of a test case as I could just to make sure I could deal 
with the bigger inputs:
2
10000 100
95413823 95550589 95726647 95824517 95981173 96177233 96314587 96491293 
96648557 96746887 96923989 97101307 97180163 97318189 97555093 97713221 
97891187 98089207 98307161 98525467 98604899 98724071 98903009 99161683 
99400891 99400891 99400891 99400891 99400891 99400891 99400891 99400891 
99400891 99400891 99400891 99400891 99400891 99400891 99400891 99400891 
99400891 99400891 99400891 99400891 99400891 99400891 99400891 99400891 
99400891 99400891 99400891 99400891 99400891 99400891 99400891 99400891 
99400891 99400891 99400891 99400891 99400891 99400891 99400891 99400891 
99400891 99400891 99400891 99400891 99400891 99400891 99400891 99400891 
99400891 99400891 99400891 99400891 99400891 99400891 99400891 99400891 
99400891 99400891 99400891 99400891 99400891 99400891 99400891 99400891 
99400891 99400891 99400891 99400891 99400891 99400891 99400891 99400891 
99400891 99400891 99400891 99400891

...and it seemed to work fine. Any help would be much appreciated as I'm at a 
bit of a loss and it would be nice to know where I went wrong :)

Thanks,
Ronan

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/7da49480-1f4b-473c-b948-5050c897417c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to