Hello,
I don't know why the checker doesn't accept such a solution
although it is correct, it is like if it expects a very precise solution!
Do you have an idea about this? Thanks.
anyway I'm going to do a classic solution
Any idea about why the checker refuse this solution ?
Resolved
Comments (4)
- Popular
- New
- Old
You must be signed in to leave a comment
Coboliste
10 May, 10:15
It keeps refusing all the solutions !
0
Coboliste
10 May, 10:33
The checker consider the third solution as the only correct one, but on condition of putting firstArray.length instead of 10. Life is strange sometimes.
0
Guadalupe Gagnon
10 May, 14:05
The static arrays in the code are not what is used by the validation. The validation system uses arrays of varying lengths to test that your code does what the conditions/requirements state. As they don't state that that you should combine two arrays of 10 values into one then your code should not do that.
+2
Coboliste
10 May, 14:47
Thanks, so if I replace 10 with firstArray.length, all the solutions will be validated. that makes sense for me.
0