https://kotlinlang.org logo
Title
u

user

06/22/2022, 10:51 AM
Stuck in Kotlin Seam Carving Stage 3/6: Look at energy I'm traing to manage the third stage of the Seam Carvinf project on the Kotlin Academy for several days, but I'm stuck. I have no idea why my output is different than the expected one. Could you help me find my mistake? Input

https://i.stack.imgur.com/xXaFM.png

Expected output

https://i.stack.imgur.com/btg0B.png

My output

https://i.stack.imgur.com/xzDDR.png

The Instruction:...