[code jam] Code Jam 2021 Round 1C - Double or NOTing

2021-05-03 Thread XYZT
it the left-most or right-most one?) I've tried working out some toy examples and in none of them does the number of NOT operation seem to depend on these particular factors. What am I missing? Thanks! XYZT -- -- You received this message because you are subscribed to the Google Groups Code Ja

[gcj] Re: Inexplicable "Wrong Answer" (Blindfolded Bullseye, Round 1B 2020)

2020-04-22 Thread XYZT
This doesn't make sense though, because I always check (0, 0) for a HIT first, which should always be True in the first two test sets. Therefore, none of the "random generator" part of the code is ever executed in those test sets. On Monday, 20 April 2020 18:05:54 UTC-4, porker2008 wrote: > >

[gcj] Re: Inexplicable "Wrong Answer" (Blindfolded Bullseye, Round 1B 2020)

2020-04-22 Thread XYZT
Thanks for catching this. But this doesn't explain why the code passes the Test Sets all but once. On Monday, 20 April 2020 18:09:47 UTC-4, porker2008 wrote: > > Also, your *binary_search_right()* is incorrect, it fails when *left = > 10**9 - 1* and *func(10**9)* is *HIT* > In this case, it

[gcj] Inexplicable "Wrong Answer" (Blindfolded Bullseye, Round 1B 2020)

2020-04-20 Thread XYZT
My Python 3 submission got a "Wrong Answer" on Test Set 1 inexplicably. Since then, I have made the same submission over and over again, and it always passes. For Test Set 1, there should be no RNG in the solution - so I don't see how there can be a "Wrong Answer". Unfortunately, I can't seem

[gcj] Alternative "creative" solutions to "Indicium"

2020-04-06 Thread XYZT
*Link to problem: https://codingcompetitions.withgoogle.com/codejam/round/0019fd27/00209aa0 * The "Analysis" section of Code Jam 2020 Qualification Round Problem 5, "Indicium" says:

Re: [gcj] Sample Failed: WA

2019-03-25 Thread XYZT
Is this information reflected in the competition's FAQ/Rules? I can't find any explicit mention of this being the case (i.e., no penalties for sample input failure). On Sunday, 24 March 2019 13:36:29 UTC-4, Pablo Heiber wrote: > It means that your submission got a Wrong Answer on the sample

[gcj] Problem with evaluation for Round 1C - Ant Stack (Codejam 2018)

2018-12-27 Thread XYZT
Hi, I am having trouble successfully passing the Large Input for "Ant Stack" on Round 1C, Codejam 2018. I keep getting the TIME_LIMIT_EXCEEDED error. So, I decided to copy the code of someone who passed the problem to see if it works. I used the exact same code from user WayneJo:

[gcj] Re: Has anyone solved Question 3 from round 1C in python?

2018-12-27 Thread XYZT
On Tuesday, 8 May 2018 23:09:27 UTC-4, David Bradley wrote: > Thanks again Pablo! I was looking for the radio button for the solution > download like the old interface used to have. I never saw the tool tip when > you moused over the names. It works great (and no more zip files!). > > For

[gcj] Confusing Runtime Error for Round 1B - Rounding Error (Codejam 2018)

2018-12-19 Thread XYZT
Hi, I am trying to write a solution for "Rounding Error" in Round 1B of Codejam 2018 using Python 3 and I am getting a strange "Runtime Error" message which I can't seem to replicate locally. I've tried several different inputs and failed to generate a runtime error. Here is my code: #