bitburner-official / bitburner-src

Bitburner source code.
Other
774 stars 256 forks source link

CCT descriptions often print   's #1514

Closed Handsome-Dan closed 1 month ago

Handsome-Dan commented 1 month ago

Here's a sample CCT description, as printed to the terminal. Several other CCT descriptions are similarly polluted. I mean, you can tell what the author was going for, but it certainly doesn't print as expected. ---Handsome Dan

Given a triangle, find the minimum path sum from top to bottom. In each step of the path, you may only move to adjacent numbers in the row below. The triangle is represented as a 2D array of numbers:

 [
       [8],
      [3,8],
     [4,6,1],
    [9,9,6,8],
   [5,8,1,9,5],
  [7,4,5,9,8,4]
]

 Example: If you are given the following triangle:

[
      [2],
     [3,4],
    [6,5,7],
   [4,1,8,3]
 ]

 The minimum path sum is 11 (2 -> 3 -> 5 -> 1).
Handsome-Dan commented 1 month ago

Bah, in the comment above the & nbsp ; prints as expected on a web page -- it does not do so in the game terminal.

d0sboots commented 1 month ago

Bah, in the comment above the & nbsp ; prints as expected on a web page -- it does not do so in the game terminal.

XD

Put it in a code block and that will show the issue.

Handsome-Dan commented 1 month ago

OP edited per @d0sboots (to which, Hi!). Glad to see that @gmcew is looking into it. Excelsior!

Handsome-Dan commented 1 month ago

Hooray! I made a positive change to Bitburner by making someone else do all the work! I'm a genius! :-)