NI
Size: a a a
NI
IB
describe('horses', () => {
it.each([
{ input: [5, 8, 3], output: 3},
{ input: [3, 1, 4, 1, 5, 9], output: 94311},
{ input: [3, 1, 4, 1], output: 4311},
{ input: [4], output: 0},
])('should be fed', ({input, output}) => {
expect(kek(input)).toEqual(output);
})
})
Вキ
console.log(kek([5, 8, 3]));
console.log(kek([3, 1, 4, 1, 5, 9]));
console.log(kek([3, 1, 4, 1]));
console.log(kek([4]));
Вキ
Π
К
Π
IB
Вキ
IB
IB
{
"input": [
7,
0,
2,
9,
4,
0,
2,
0,
5,
9
],
"output": "99522000"
},
Вキ
IB
Вキ
{
"input": [
7,
0,
2,
9,
4,
0,
2,
0,
5,
9
],
"output": "99522000"
},
Вキ
Вキ
IB
IB
Вキ
Вキ