From d9dba2a44280d88263ce24c8a4ac97f07477fe3d Mon Sep 17 00:00:00 2001 From: catloversg <152669316+catloversg@users.noreply.github.com> Date: Thu, 12 Dec 2024 18:13:18 +0700 Subject: [PATCH] MISC: Clarify input and output of Square Root coding contract (#1839) --- src/data/codingcontracttypes.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/data/codingcontracttypes.ts b/src/data/codingcontracttypes.ts index 41c5c6147e..9bc631ccbc 100644 --- a/src/data/codingcontracttypes.ts +++ b/src/data/codingcontracttypes.ts @@ -1865,7 +1865,8 @@ export const codingContractTypesMetadata: CodingContractType[] = [ name: "Square Root", difficulty: 5, desc(data: bigint): string { - return `You are given a ~200 digit BigInt. Find the square root of this number, to the nearest integer. + return `You are given a ~200 digit BigInt. Find the square root of this number, to the nearest integer.\n +The input is a BigInt value. The answer must be the string representing the solution's BigInt value. The trailing "n" is not part of the string.\n Hint: If you are having trouble, you might consult https://en.wikipedia.org/wiki/Methods_of_computing_square_roots Input number: