Skip to content

Commit

Permalink
MISC: Clarify input and output of Square Root coding contract (bitbur…
Browse files Browse the repository at this point in the history
  • Loading branch information
catloversg authored Dec 12, 2024
1 parent 74ede7d commit d9dba2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/data/codingcontracttypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1865,7 +1865,8 @@ export const codingContractTypesMetadata: CodingContractType<any>[] = [
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:
Expand Down

0 comments on commit d9dba2a

Please sign in to comment.