Re: [code jam] Google Code Jam 2022 - Chain Reactions (RE problem)

2022-04-20 Thread Samuel Jawahar
https://codejam.googleapis.com/dashboard/get_file/AQj_6U2-pTNTum7Yk9UWYoDOxk0_IQv4H-zDnwRS/Solution.java?dl=1 On Mon, 11 Apr 2022, 05:59 Katalin Brányiné Sulák, < branyine.sulak.kata...@gmail.com> wrote: > Samuel, the link points to the problem itself, you are the only one seeing > there your

Re: [code jam] Google Code Jam 2022 - Chain Reactions (RE problem)

2022-04-20 Thread Samuel Jawahar
Hello Kata, This is the link https://codejam.googleapis.com/dashboard/get_file/AQj_6U2-pTNTum7Yk9UWYoDOxk0_IQv4H-zDnwRS/Solution.java?dl=1 There was one famous problem its name is milk shake, do you have that link? Regards Samuel On Mon, 11 Apr 2022, 05:59 Katalin Brányiné Sulák, <

Re: [code jam] Google Code Jam 2022 - Chain Reactions (RE problem)

2022-04-10 Thread DarkDogg92
Thanks for all the suggestions. I've finally managed to solve the problem for Test set 1, using the real inputs downloaded from under the analysis. Great hint! The RE error was caused by the line *return Math.max(...permsMaxes); *- it was too resource-consuming. I've resolved this issue by

Re: [code jam] Google Code Jam 2022 - Chain Reactions (RE problem)

2022-04-10 Thread Katalin Brányiné Sulák
Samuel, the link points to the problem itself, you are the only one seeing there your last typed solution. You can get the link of your solution if you select one of your submissions (either 'Test n' or 'Attempt n'), then in the top right corner click on the download, and check the Download

Re: [code jam] Google Code Jam 2022 - Chain Reactions (RE problem)

2022-04-10 Thread Katalin Brányiné Sulák
My message could be misunderstandable, so I stress again: you can download the test inputs and their desired outputs after the round concluded. This is the input which is used for scoring the submissions. In general, you have to switch to the analysis tab and check the bottom part. Specifically

Re: [code jam] Google Code Jam 2022 - Chain Reactions (RE problem)

2022-04-06 Thread porker2008
Maybe consider the worst case where N = 10, and all of them are not pointing anywhere *11060 20 40 50 60 20 40 50 60 200 0 0 0 0 0 0 0 0 0* 在2022年4月5日星期二 UTC-7 17:27:24 写道: > Hello plesse send one test case where it is failing > >

Re: [code jam] Google Code Jam 2022 - Chain Reactions (RE problem)

2022-04-06 Thread Katalin Brányiné Sulák
After the round concluded, you can download the full test sets [and their answers] if you switch to the analysis tab and scroll to the bottom. You could run your solution against the real test cases locally and get the corresponding detailed error message, even without checking the specific test

Re: [code jam] Google Code Jam 2022 - Chain Reactions (RE problem)

2022-04-06 Thread DarkDogg92
Hello there! The problem is I get a runtime error during the tests on site, thus no hint is visible, even the testing samples are not known. I tried to reproduce the error locally by making up some test cases but with no success. środa, 6 kwietnia 2022 o 02:27:24 UTC+2 jawa napisał(a): >

Re: [code jam] Google Code Jam 2022 - Chain Reactions (RE problem)

2022-04-05 Thread Samuel Jawahar
Hello plesse send one test case where it is failing https://codingcompetitions.withgoogle.com/codejam/round/00876ff1/00a45ef7 On Mon, 4 Apr 2022, 20:16 DarkDogg92, wrote: > Hello everybody, > > I can't manage to solve the Chain Reactions problem. My solution seems to > work

[code jam] Google Code Jam 2022 - Chain Reactions (RE problem)

2022-04-04 Thread DarkDogg92
Hello everybody, I can't manage to solve the Chain Reactions problem. My solution seems to work locally, passes the sample tests on site, but when it comes to the real tests, I always get a runtime error. I decided to build a graph for every test case, then generate all the permutations of