{"ScriptPreparationCode":null,"TestCases":[{"Name":"Van","Code":"isSastry=n=\u003E((\u002B\u0060${n}${n\u002B1}\u0060)**.5)%1==0\r\nisSastry(183)\r\nisSastry(184)\r\nisSastry(106755)\r\nisSastry(129987253440921)\r\nisSastry(157175907513603)\r\nisSastry(206611570247935)\r\nisSastry(338752188230098)\r\nisSastry(433610247875715)","IsDeferred":false},{"Name":"Martin","Code":"const isSastry = (num) =\u003E Number.isInteger(Math.sqrt(\u0060${num}${num \u002B 1}\u0060))\r\nisSastry(183)\r\nisSastry(184)\r\nisSastry(106755)\r\nisSastry(129987253440921)\r\nisSastry(157175907513603)\r\nisSastry(206611570247935)\r\nisSastry(338752188230098)\r\nisSastry(433610247875715)","IsDeferred":false},{"Name":"Peter","Code":"const isSastry = (number) =\u003E {\r\n const totString = String(number) \u002B String(number\u002B1)\r\n const squareRoot = Math.sqrt(totString);\r\n return squareRoot%1===0;\r\n}\r\nisSastry(183)\r\nisSastry(184)\r\nisSastry(106755)\r\nisSastry(129987253440921)\r\nisSastry(157175907513603)\r\nisSastry(206611570247935)\r\nisSastry(338752188230098)\r\nisSastry(433610247875715)","IsDeferred":false},{"Name":"Ana","Code":"function isSastry(number) {\r\n\tif (Math.sqrt(\u002B\u0060${number}${number\u002B1}\u0060) % 1 !== 0) {return false} \r\n\telse { return true}\r\n}\r\nisSastry(183)\r\nisSastry(184)\r\nisSastry(106755)\r\nisSastry(129987253440921)\r\nisSastry(157175907513603)\r\nisSastry(206611570247935)\r\nisSastry(338752188230098)\r\nisSastry(433610247875715)","IsDeferred":false},{"Name":"Tim","Code":"function isSastry(n) {\r\n return Math.sqrt(parseInt(n.toString() \u002B (n \u002B 1).toString())) % 1 == 0;\r\n}\r\nisSastry(183)\r\nisSastry(184)\r\nisSastry(106755)\r\nisSastry(129987253440921)\r\nisSastry(157175907513603)\r\nisSastry(206611570247935)\r\nisSastry(338752188230098)\r\nisSastry(433610247875715)","IsDeferred":false},{"Name":"Sadok","Code":"function isSastry(number) {\r\n const checkNumber = Number.isInteger(number);\r\n if (checkNumber) {\r\n const secondNn = number \u002B 1;\r\n const myNumber = number.toString()\u002BsecondNn.toString()\r\n return Number.isInteger(Math.sqrt(myNumber));\r\n }\r\n}\r\n\r\nisSastry(183)\r\nisSastry(184)\r\nisSastry(106755)\r\nisSastry(129987253440921)\r\nisSastry(157175907513603)\r\nisSastry(206611570247935)\r\nisSastry(338752188230098)\r\nisSastry(433610247875715)","IsDeferred":false},{"Name":"Luke","Code":"function isSastry (value) {\r\n const increment = value \u002B 1;\r\n const fullNumber = Number(\u0022\u0022 \u002B value \u002B increment);\r\n const perfectsq = Math.sqrt(fullNumber)\r\n return Number.isInteger(perfectsq);\r\n}\r\n\r\nisSastry(183)\r\nisSastry(184)\r\nisSastry(106755)\r\nisSastry(129987253440921)\r\nisSastry(157175907513603)\r\nisSastry(206611570247935)\r\nisSastry(338752188230098)\r\nisSastry(433610247875715)","IsDeferred":false}]}