1000 element list
15
Raw input. each value of a corresponds to a value of o.
16
1000 element list
17
Annnd I need to constantly track aim? ugh. brainstorming time.
18
19
Ok cool. I got the aim at any give time. Knowing this, I need to know when I'm going forward, and how far
20
21
Awesome. At any given point I know what my aim is and how far forward I'm going. Now I need to track my change in depth at any given time
22
equals
0
40
0
66
0
0
22
0
0
264
0
0
280
0
23
therefore, here's the final depth
24
equals
25
Final distance along the x axis
26
equals
27
Answer for part 2 (final depth times total distance forward)
28
equals
29
30
powered by
powered by
New Blank Graph
Examples