mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53:48 +01:00
Random comment added to my coding contract so I can PR this branch
This commit is contained in:
parent
b46718d188
commit
a1754da9f6
@ -1382,7 +1382,8 @@ export const codingContractTypesMetadata: ICodingContractTypeMetadata[] = [
|
|||||||
return [n + m, edges];
|
return [n + m, edges];
|
||||||
},
|
},
|
||||||
solver: (data: [number, [number, number][]], ans: string): boolean => {
|
solver: (data: [number, [number, number][]], ans: string): boolean => {
|
||||||
//Case where the player believes there is no solution
|
//Case where the player believes there is no solution.
|
||||||
|
//Attempt to construct one to check if this is correct.
|
||||||
if (ans == "[]") {
|
if (ans == "[]") {
|
||||||
//Helper function to get neighbourhood of a vertex
|
//Helper function to get neighbourhood of a vertex
|
||||||
function neighbourhood(vertex: number): number[] {
|
function neighbourhood(vertex: number): number[] {
|
||||||
|
Loading…
Reference in New Issue
Block a user