55 lines
822 B
Markdown
55 lines
822 B
Markdown
|
---
|
|||
|
id: 5900f3971000cf542c50feaa
|
|||
|
challengeType: 5
|
|||
|
title: 'Problem 43: Sub-string divisibility'
|
|||
|
videoUrl: ''
|
|||
|
localeTitle: 问题43:子串可分性
|
|||
|
---
|
|||
|
|
|||
|
## Description
|
|||
|
undefined
|
|||
|
|
|||
|
## Instructions
|
|||
|
undefined
|
|||
|
|
|||
|
## Tests
|
|||
|
<section id='tests'>
|
|||
|
|
|||
|
```yml
|
|||
|
tests:
|
|||
|
- text: ''
|
|||
|
testString: 'assert.deepEqual(substringDivisibility(), [ 1430952867, 1460357289, 1406357289, 4130952867, 4160357289, 4106357289 ], "<code>substringDivisibility()</code> should return [ 1430952867, 1460357289, 1406357289, 4130952867, 4160357289, 4106357289 ].");'
|
|||
|
|
|||
|
```
|
|||
|
|
|||
|
</section>
|
|||
|
|
|||
|
## Challenge Seed
|
|||
|
<section id='challengeSeed'>
|
|||
|
|
|||
|
<div id='js-seed'>
|
|||
|
|
|||
|
```js
|
|||
|
function substringDivisibility() {
|
|||
|
// Good luck!
|
|||
|
return [];
|
|||
|
}
|
|||
|
|
|||
|
substringDivisibility();
|
|||
|
|
|||
|
```
|
|||
|
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</section>
|
|||
|
|
|||
|
## Solution
|
|||
|
<section id='solution'>
|
|||
|
|
|||
|
```js
|
|||
|
// solution required
|
|||
|
```
|
|||
|
</section>
|