tasks has cooldown time, give an input task id array, output finish time
input: AABCA
Atasks has cooldown time, give an input tasktasks has cooldown time, give an input task id array, output finish time
input: AABCA
Atasks has cooldown time, give an input task