[gcj] Re: [Python3] QR 2020 - Parenting Partnering Returns

2020-04-10 Thread eegee
Turns out that it *was not* a Runtime Error. Thanks to @porker2008 I was able to fix my answer by first sorting the activities. Apparently "Case #3: CJJCC" is not a valid alternative for "Case #3: JCCJJ". On Tuesday, 7 April 2020 02:44:08 UTC+2, eegee wrote: > > I

[gcj] Re: Not able to Justify the string output

2020-04-07 Thread eegee
That is due to the way you are calculating the answer with extra whitespace padding. Depending on the language you are using, there should be "trim" or "strip" function for strings which you can use as a quick fix on the answer-portion after the "Case ##:" portion. Alternatively, go through

[gcj] [Python3] QR 2020 - Parenting Partnering Returns

2020-04-06 Thread eegee
I keep getting a RE (Runtime Error) for my solution on "Parenting Partnering Returns". It passes the test case, but fails for the submission. It is quite frustrating not knowing what the issue is. I spent an inordinate amount of time trying to get the first solution submitted since it also had