atcoder beginner contest 172 #c — Tsundoku
getting wrong answer in abc172c — Tsundoku.
my logic is that taking topmost book from two stack which has less required time to read. I greedily repeated this step untill both list are empty or time slot is available.
why my approach is wrong?
Codeforces Round 943 Solution Discussion