I try another submission with the same code and I get the same error on the same validator… So I guess there is a reason for this failure but I just can’t see it ^^’
further is more
in code there is predefined cycle for reading fifthInput and sixthInput.
for(var i=0; i< thirdInitInput;i++){…}
so now, if I change thirdInitInput to “5” (constant) my code passes all validators,
if I return thirdInitInput variable - it fails M3L3
How can it happens!? 0o
UPDATE:
I hope to hear from authors of the problem firstly, but everybody is welcomed.
(I think it is not a spoiler, everyone can determine this value easily!)
So I ve found that in M3L3 thirdInitInput is 6!
Why?
Is it mistake or not?
I thought 4 characters before pairs of integers are related to those pairs, but if thirdInitInput=6 then there are six pairs, but what are 4 characters means in that case???
Umm, what? I’ve read twice but haven’t understood what you mean yet…
Of course. Now I know that 4 characters is useless data for me while… I can’t find dependence between 4 chars and all other game… But I have one idea to check when I will be able to access to IDE and code…)
How did you find out? I’ve been stuck with passing 89% of tests forever, and I did not understand why since I couldn’t find an error message for the failed test M3L3. Thanks to you, I realized I had forgotten a hard-coded “5” somewhere
well, if you print incorrect output your code will fail the test.
so i just wrote:
if (thirdInitInput != 6) print(‘DAMN’)
And after it I got all validators failed except M3L3 =)
Well, this challenge is over 9 months old, but I started it right now and found it very interesting.
It took me too long to see what’s going on, but I finally see it.
I think I get all the inputs, but I can’t get any idea about how extra points work.
I know you have some basic score, but under some circumstances I suddenly got 100+ points on a 6 turn play.
I still don’t get how it works, because that should be one of these hidden states, and I can’t see any way to identify it.
I saw that turns indeed affect other “players” behaviour, but I can’t see if it affects these bonus scores. I searched for “bonus” on places where I thought I can find them, but nothing.
Found this challenge a little while ago and I love it! Thanks for providing this challenge to us. I sent this one to a few friends and we’re all having fun climbing the leaderboards.
But how high was your score ?
The aim is not only to have 100% passed, but to score high. Check the leaderboard and get impressed with the aliens scoring more than 10k
Oh man I just had the light bulb moment of what this is haha. That’s genius well done. I wonder if I’ll have time to code up a proper response to this now haha. I thought it was one thing which was kind of similar and started doing alright, but now that I know what it is I think I can much better :).