CONTRACTS: Display contract answers on completely failed contracts (#2440)

This commit is contained in:
Adam Weeden
2026-01-08 16:21:52 -05:00
committed by GitHub
parent edf3d11b72
commit 7af9dca6bc
23 changed files with 221 additions and 48 deletions
@@ -75,6 +75,9 @@ export const proper2ColoringOfAGraph: Pick<CodingContractTypes, CodingContractNa
return [n + m, edges];
},
getAnswer: () => {
return null;
},
solver: (data, answer) => {
//Helper function to get neighbourhood of a vertex
function neighbourhood(vertex: number): number[] {