{"ScriptPreparationCode":null,"TestCases":[{"Name":"Array.prototype.slice","Code":"let param = [];\r\nfor (let a = 0; a \u003C 50; a\u002B\u002B) {\r\n param[a] = new Array(50);\r\n for (let b = 0; b \u003C 50; b\u002B\u002B) {\r\n param[a][b] = Math.random();\r\n }\r\n}\r\n\r\nlet ans = [];\r\nfor (let i = 0; i \u003C param.length; i\u002B\u002B) {\r\n ans.push(param[i].slice());\r\n}","IsDeferred":false},{"Name":"spread operator","Code":"let param = [];\r\nfor (let a = 0; a \u003C 50; a\u002B\u002B) {\r\n param[a] = new Array(50);\r\n for (let b = 0; b \u003C 50; b\u002B\u002B) {\r\n param[a][b] = Math.random();\r\n }\r\n}\r\n\r\nlet ans = [];\r\nfor (let i = 0; i \u003C 50; i\u002B\u002B) {\r\n ans.push([...param[i]]);\r\n}","IsDeferred":false},{"Name":"simple loop","Code":"let param = [];\r\nfor (let a = 0; a \u003C 50; a\u002B\u002B) {\r\n param[a] = new Array(50);\r\n for (let b = 0; b \u003C 50; b\u002B\u002B) {\r\n param[a][b] = Math.random();\r\n }\r\n}\r\n\r\nlet ans = [];\r\nfor (let i = 0; i \u003C 50; i\u002B\u002B) {\r\n ans.push([]);\r\n for(let j = 0; j \u003C 50; j\u002B\u002B) {\r\n ans[i].push(param[i][j]);\r\n }\r\n}","IsDeferred":false},{"Name":"constants loop","Code":"let param = [];\r\nfor (let a = 0; a \u003C 50; a\u002B\u002B) {\r\n param[a] = new Array(50);\r\n for (let b = 0; b \u003C 50; b\u002B\u002B) {\r\n param[a][b] = Math.random();\r\n }\r\n}\r\n\r\nlet ans = [];\r\nfor (let i = 0; i \u003C 50; i\u002B\u002B) {\r\n ans.push([]);\r\n for(let j = 0; j \u003C 50; j\u002B\u002B) {\r\n ans[i].push(param[i][j]);\r\n }\r\n}","IsDeferred":false},{"Name":"placement loop","Code":"let param = [];\r\nfor (let a = 0; a \u003C 50; a\u002B\u002B) {\r\n param[a] = new Array(50);\r\n for (let b = 0; b \u003C 50; b\u002B\u002B) {\r\n param[a][b] = Math.random();\r\n }\r\n}\r\n\r\nlet ans = [];\r\nfor (let i = 0; i \u003C 50; i\u002B\u002B) {\r\n ans.push([]);\r\n for(let j = 0; j \u003C 50; j\u002B\u002B) {\r\n ans[i][j] = param[i][j];\r\n }\r\n}","IsDeferred":false},{"Name":"pre-built array loop","Code":"let param = [];\r\nfor (let a = 0; a \u003C 50; a\u002B\u002B) {\r\n param[a] = new Array(50);\r\n for (let b = 0; b \u003C 50; b\u002B\u002B) {\r\n param[a][b] = Math.random();\r\n }\r\n}\r\n\r\nlet ans = new Array(50);\r\nfor (let i = 0; i \u003C 50; i\u002B\u002B) {\r\n ans[i] = new Array(50);\r\n for(let j = 0; j \u003C 50; j\u002B\u002B) {\r\n ans[i][j] = param[i][j];\r\n }\r\n}","IsDeferred":false}]}