21 is in the origial list. 12 = 21 - 9.......the order of i and j doesn't really matter at all.
What is not clear in the explanation are the indices i and j. They refer to algarisms in the same number or indices in a vector? In the first example an array of [6, 9, 12] is given, then there is a 21 that appears.
i
j
[6, 9, 12]
21
No answer after 2 weeks, closing. Please if you want to open an issue, read this first and check how to do it properly: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution
This kata is broken
input [81 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87]
Failed with message: got 81 expected 87
Loading collection data...
21 is in the origial list. 12 = 21 - 9.......the order of i and j doesn't really matter at all.
What is not clear in the explanation are the indices
i
andj
.They refer to algarisms in the same number or indices in a vector?
In the first example an array of
[6, 9, 12]
is given, then there is a21
that appears.No answer after 2 weeks, closing. Please if you want to open an issue, read this first and check how to do it properly: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution
This kata is broken
input [81 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87 87]
Failed with message:
got 81 expected 87