doesn't the exam filter the applicants out?
If this was the case, it would probably show in the rankings...
2023.ranking.perspektywy.pl/ranking/ranking-kierunkow-studiow/kierunki-medyczne-i-o-zdrowiu/kierunek-lekarski
rynekzdrowia.pl/Nauka/Ranking-uczelni-medycznych-2024-Na-czele-Warszawski-Uniwersytet-Medyczny,260131,9.html
... but as you can see Wrocław is one of the best universities whilst Toruń... well. The rankings are based on a variety of factors, including prestige, grads' salaries, scientific potential etc. (you have the detailed list of factors in the second link), so I'd say they are pretty accurate. Of course, you may want to take other things into account and the choice of a university is indeed a very important decision.