230--3---[91, 74, 73, 85, 73, 81, 87] this is "Example tests"
331--2---[91, 74, 73, 85, 73, 81, 87] this is my problem,and i failed at this condition ,✘ expected:178 but was:228,i test my program in eclipse,same data,the result is 178.so i confused.
testing(261235, "[126235, 2, 0]");
why not [126235, 0, 2]
example smallest(209917) --> [29917, 0, 1]
[29917, 1, 0] could be a solution too but index i in [29917, 1, 0] is greater than
index i in [29917, 0, 1].
230--3---[91, 74, 73, 85, 73, 81, 87] this is "Example tests"
331--2---[91, 74, 73, 85, 73, 81, 87] this is my problem,and i failed at this condition ,✘ expected:178 but was:228,i test my program in eclipse,same data,the result is 178.so i confused.
k == 2
is that same condition?
t=331
k=2
ls=[91, 74, 73, 85, 73, 81, 87]
my answer is 178 but "✘ expected:<178> but was:<228>"
my problem,it was exception.
✘ 1
what is that mean?I fail and the tip is "✘ 1";I can't understand.
Help,please.
230--3---[91, 74, 73, 85, 73, 81, 87]
expected:178 but was:228
is that correct test?
testing(261235, "[126235, 2, 0]");
why not [126235, 0, 2]
example smallest(209917) --> [29917, 0, 1]
[29917, 1, 0] could be a solution too but index
i
in [29917, 1, 0] is greater thanindex
i
in [29917, 0, 1].expected:<[[4505, 2252],[ [1503, 750], [647, 320], [505, 248], [415, 202], [353, 170], [225, 102], [153, 60], [135, 48], [103, 20], [97, 10], ][95, 2]]> but was:<[[4505, 2252],[[1503, 750],[647, 320],[505, 248],[415, 202],[353, 170],[225, 102],[153, 60],[135, 48],[103, 20],[97, 10],][95, 2]]>
eh...i think this info is not "correct"
test 8 ,array a has negative number
except for 1 or 0
same problem
✘ Nope! expected:<15> but was:<6>
Please ....