{"ScriptPreparationCode":"function sign1(x) {\r\n if (x \u003C 0) return -1;\r\n if (x \u003E 0) return 1;\r\n return x;\r\n}\r\n\r\nfunction sign2(x) {\r\n return x ? x \u003C 0 ? -1 : 1 : 0;\r\n}","TestCases":[{"Name":"1","Code":"Math.sign(Math.random() * (Math.random() \u003E 0.5 ? -1 : 1))","IsDeferred":false},{"Name":"2","Code":"sign1(Math.random() * (Math.random() \u003E 0.5 ? -1 : 1))","IsDeferred":false},{"Name":"3","Code":"sign2(Math.random() * (Math.random() \u003E 0.5 ? -1 : 1))","IsDeferred":false}]}