Question is, when you write down the numbers of excuses and the number of things you could so each month, as in your input .... How many months do you have less excuses available than problems you could solve? Part 2: The kids want to check whether your algorithm works correctly. For that they have devised a formula: Position of the month in the input, multiplied with the number of problems not excusable to not solve, summed up for all months of the year. What is the checksum of your excuses - problems - report?
Question is, when you write down the numbers of excuses and the number of things you could so each month, as in your input .... How many months do you have less excuses available than problems you could solve? Part 2: The kids want to check whether your algorithm works correctly. For that they have devised a formula: Position of the month in the input, multiplied with the number of problems not excusable to not solve, summed up for all months of the year. What is the checksum of your excuses - problems - report?