Let us solve the second task from the Weekly Challenge 204. It is called ‘Reshape matrix’.
Solving Task 2 of the Weekly Challenge 204 with the help of ChatGPT
Let us solve the second task from the Weekly Challenge 204. It is called ‘Reshape matrix’.
Science, Programming, Electronics, Languages
Let us solve the second task from the Weekly Challenge 204. It is called ‘Reshape matrix’.
Let us solve the second task from the Weekly Challenge 204. It is called ‘Reshape matrix’.
Let us ask ChatGPT to find a solution and then correct it to make it more Raku-ish. This task, the machine solved the thing from the first attempt, but you can follow how we managed to make it better and more compact. Most (except one) of the generated code workes without compiler errors, so I will not concentrate on it here.
Let us ask ChatGPT to find a solution and then correct it to make it more Raku-ish. This task, the machine solved the thing from the first attempt, but you can follow how we managed to make it better and more compact. Most (except one) of the generated code workes without compiler errors, so I will not concentrate on it here.