« first day (2417 days earlier)      last day (868 days later) » 

7:54 AM
hello
 
Good morning :-)
 
 
2 hours later…
9:39 AM
so, day 3 of the AoC is solved
now I can get to work ;-)
 
 
1 hour later…
10:39 AM
Hello
@Jaap solved, too, before breakfast :) part2 is while loop right?
Or a recursive function.
 
@zx8754 I solved it with a for-loop which breaks when only one observation is left; after that I realized that a while-loop might have been more appropriate
 
10:55 AM
for a second thought we have a 5 year old R programmer :) I'm 5
 

« first day (2417 days earlier)      last day (868 days later) »