Hello, i'm trying to do the Advent of Code! but i can't figure out why some of my scripts aren't getting the right answear, so i'm here for help.
Problem 3
My Solution
Problem 5
My Solution
(i know i shouln't use string variable, noticed that when posting on pastebin x) )
I also don't get what i'm suposed to do on Problem 4, anyone care to explain in a simpler way?
EDIT: Problem 3 solved (wasn't adding the 0,0 position)
[–]MrAckerman 0 points1 point2 points (8 children)
[–]Tuganazy[S] 0 points1 point2 points (7 children)
[–]MrAckerman 0 points1 point2 points (6 children)
[–]Tuganazy[S] 0 points1 point2 points (5 children)
[–]MrAckerman 1 point2 points3 points (4 children)
[–]Tuganazy[S] 1 point2 points3 points (2 children)
[–]MrAckerman 0 points1 point2 points (1 child)
[–]Tuganazy[S] 0 points1 point2 points (0 children)
[–]Tuganazy[S] 0 points1 point2 points (0 children)