Re: [code jam] strange Perl output?

2021-05-03 Thread E. Choroba
The official Perl policy is to support the last two versions, i.e. 5.32 and 5.30 are currently supported. 5.34 is coming soon, so 5.30 is not a good candidate to upgrade to. Ch. == On Mon, 26 Apr 2021, porker2008

Re: [code jam] strange Perl output?

2021-04-30 Thread 'Pablo Heiber' via Google Code Jam
Hi, We always install the latest stable version of the compilers and interpreters of the OS that we have. We'll make sure to advance the version enough to get past this bug when we next update the image. Thanks for reporting this. Best, Pablo On Fri, Apr 30, 2021 at 10:10 AM porker2008 wrote:

Re: [code jam] strange Perl output?

2021-04-30 Thread porker2008
This looks like a terrible bug to me. Not sure how often/likely will this bug be triggered. Would it make sense if we ask the Code Jam team to use higher/latest Perl version? or lower version if higher version is not feasible. The 5.28.0 was released back in 2018 and seems pretty old now.

Re: [code jam] strange Perl output?

2021-04-26 Thread Joel Sathiyendra
HI, there I didn't actually understand your message, but I'll share my code I hope It'll explain. def para(list): ans = "" for i in range(len(list)): if i==0: ans+="("*int(list[i][0]) else: if int(list[i][0])>int(list[i-1][0]):

Re: [code jam] strange Perl output?

2021-04-26 Thread E. Choroba
I'm getting the same wrong output in Perl 5.28.1 which is the version Code Jam uses. I noticed both 5.26.1 and 5.33.7 (the other versions available to me) gave the correct answer, so I tried to bisect it. The bug was introduced in