https://mirror.codeforces.com/contest/447/problem/D .. My solution is greedy, everytime i get the biggest value from column or row and then add to the answer, I got wrong answer.. this is my submission https://mirror.codeforces.com/contest/447/submission/53039990