Fixed GH Issue #641

This commit is contained in:
danielyxie 2019-07-01 20:39:12 -07:00 committed by danielyxie
parent b82d7c12af
commit b2772bbfc1
3 changed files with 6 additions and 13 deletions

@ -214,6 +214,8 @@ The list contains the name of (i.e. the value returned by
| | | |
| | | The answer should be provided as an array of strings containing the valid expressions. |
| | | |
| | | NOTE: Numbers in an expression cannot have leading 0's |
| | | |
| | | Examples: |
| | | Input: digits = "123", target = 6 |
| | | Output: ["1+2+3", "1*2*3"] |

@ -221,18 +221,7 @@ export let CONSTANTS: IMap<any> = {
LatestUpdate:
`
v0.47.1
* Stock Market changes:
** Transactions no longer influence stock prices (but they still influence forecast)
** Changed the way stocks behave, particularly with regard to how the stock forecast occasionally "flips"
** Hacking & growing a server can potentially affect the way the corresponding stock's forecast changes
** Working for a company positively affects the way the corresponding stock's forecast changes
* Scripts now start/stop instantly
* Improved performance when starting up many copies of a new NetscriptJS script (by Ornedan)
* Improved performance when killing scripts
* Dialog boxes can now be closed with the ESC key (by jaguilar)
* NetscriptJS scripts should now be "re-compiled" if their dependencies change (by jaguilar)
* write() function should now properly cause NetscriptJS scripts to "re-compile" (by jaguilar)
v0.47.2
*
`
}

@ -841,6 +841,8 @@ export const codingContractTypesMetadata: ICodingContractTypeMetadata[] = [
"The data provided by this problem is an array with two elements. The first element",
"is the string of digits, while the second element is the target number:\n\n",
`["${digits}", ${target}]\n\n`,
"NOTE: Numbers in the expression cannot have leading 0's. In other words,",
`"1+01" is not a valid expression`,
"Examples:\n\n",
`Input: digits = "123", target = 6\n`,
`Output: ["1+2+3", "1*2*3"]\n\n`,