My issue
Since chef has watched Y minutes in twice the speed which mean Y*2. and the total movie length is X minutes then. The logic should stand as Total time = (X-Y/2) not (X-Y + Y/2)
My code
// Click on 'Next' once the observations / logic is clear
Learning course: C++ for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone