From 57a1bef967bc4fb230457f3a0e4a5ab174fae554 Mon Sep 17 00:00:00 2001 From: zeddrak <57454318+zeddrak@users.noreply.github.com> Date: Sat, 22 Jan 2022 21:00:28 -0800 Subject: [PATCH] In response to Issue #2732 (Optional) This simply clarifies the description for the find all valid math expressions in response to issue #2732 https://github.com/danielyxie/bitburner/issues/2732 --- src/data/codingcontracttypes.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/data/codingcontracttypes.ts b/src/data/codingcontracttypes.ts index 2b68dba1c..701f08d81 100644 --- a/src/data/codingcontracttypes.ts +++ b/src/data/codingcontracttypes.ts @@ -916,8 +916,8 @@ export const codingContractTypesMetadata: ICodingContractTypeMetadata[] = [ "You are given the following string which contains only digits between 0 and 9:\n\n", `${digits}\n\n`, `You are also given a target number of ${target}. Return all possible ways`, - "you can add the +, -, and * operators to the string such that it evaluates", - "to the target number.\n\n", + "you can add the +(add), -(subtract), and *(multiply) operators to the string such", + "that it evaluates to the target number. (Normal order of operations applies.)\n\n", "The provided answer should be an array of strings containing the valid expressions.", "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", @@ -949,7 +949,7 @@ export const codingContractTypesMetadata: ICodingContractTypeMetadata[] = [ return [digits, target]; }, - name: "Find All Valid Math Expressions", + name: "c", numTries: 10, solver: (data: any[], ans: string): boolean => { const num: string = data[0];