I think the time limit was too tight… Also my O(n*m) solution in c++ didn’t pass…
When xellos creates a problem, it must include a meme! I was waiting for this
1 Like
My solution takes 0.86 seconds on that test and I didn’t even try to optimise it. It wasn’t too small, definitely not for DP and a long contest.