If you posted your code here we could maybe help find the runtime error

Perhaps the sample used small numbers, and the first test set used larger
numbers, and you used a data type that was too small?

On Tue, 6 Apr 2021 at 21:25, 'Pablo Heiber' via Google Code Jam <
google-code@googlegroups.com> wrote:

> Hi Nic,
>
> What you are looking at probably means that your test passed the samples
> but got a runtime error when running on real data on Test Set 1.  For
> non-interactive problems, your code is ran against the samples, then the
> Test Set 1 data, then Test Set 2, data, etc. We never return two different
> errors for the same set of the data, if you have a runtime error after you
> finish outputting things, you will just get a runtime error overall. Your
> program needs to finish correctly (without runtime errors and within the
> resource limits) for us to even judge your output.
>
> Best,
> Pablo
>
> On Tue, Apr 6, 2021 at 1:16 PM Nic Moetsch <nicmoet...@gmail.com> wrote:
>
>> Hello all,
>>
>> I just finished the Code Jam qualification round.
>> I didn't manage to get the Reversesort Engeneering question correct,
>> everytime I submitted, it returned *Samples: passed* however also a *runtime
>> error*.
>>
>> This combination feedback really threw me off and since the Google team
>> doesn't help with debugging, they didn't really answer my question via
>> email. It'd be great if someone could try to explain to me what this
>> combination of feedbacks means.
>>
>> My guess is that the code always failed on the last test case i.e.
>> SamplesPassed = True after all samples were read and it failed on the last
>> iteration, however since the first test set only consisted of lists size 2
>> to 7 I'd be suprised if the only edge case happened in the last test case.
>>
>> I used Python 3.7 if that makes a difference.
>>
>> Thanks a lot in advance
>> Nic
>>
>> --
>> -- You received this message because you are subscribed to the Google
>> Groups Code Jam group. To post to this group, send email to
>> google-code@googlegroups.com. To unsubscribe from this group, send email
>> to google-code+unsubscr...@googlegroups.com. For more options, visit
>> this group at https://groups.google.com/d/forum/google-code?hl=en
>> ---
>> 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 google-code+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-code/dc58378f-1ad1-4919-991c-fe438ad71cedn%40googlegroups.com
>> <https://groups.google.com/d/msgid/google-code/dc58378f-1ad1-4919-991c-fe438ad71cedn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> -- You received this message because you are subscribed to the Google
> Groups Code Jam group. To post to this group, send email to
> google-code@googlegroups.com. To unsubscribe from this group, send email
> to google-code+unsubscr...@googlegroups.com. For more options, visit this
> group at https://groups.google.com/d/forum/google-code?hl=en
> ---
> 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 google-code+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-code/CANa5jcDmYbh66bT8-5BiPfGYCMhX8Q5bJEGPX8uEERzTveY-pA%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-code/CANa5jcDmYbh66bT8-5BiPfGYCMhX8Q5bJEGPX8uEERzTveY-pA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Paul Smith

p...@pollyandpaul.co.uk

-- 
-- You received this message because you are subscribed to the Google Groups 
Code Jam group. To post to this group, send email to 
google-code@googlegroups.com. To unsubscribe from this group, send email to 
google-code+unsubscr...@googlegroups.com. For more options, visit this group at 
https://groups.google.com/d/forum/google-code?hl=en
--- 
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 google-code+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CAJej63JJLtd86PwvCdtOV9gSy1-8of6NVkqqQUYEAwYi36GEEA%40mail.gmail.com.

Reply via email to