{"ScriptPreparationCode":"var coords = [];\r\nfor(let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n coords[i] = [Math.random() * 100, Math.random() * 100];\r\n}\r\nvar gravity = 1.0, x, y, distance, force;","TestCases":[{"Name":"Math.sqrt()","Code":"for(const coord of coords) {\r\n x = coords[0];\r\n y = coords[1];\r\n distance = Math.sqrt(x * x \u002B y * y);\r\n force = gravity / (distance * distance);\r\n}","IsDeferred":false},{"Name":"squared distance","Code":"for(const coord of coords) {\r\n x = coords[0];\r\n y = coords[1];\r\n distance = x * x \u002B y * y;\r\n force = gravity / distance;\r\n}","IsDeferred":false}]}