There is no direct flight to Hefei so you are suggested to take a transit flight from Hong Kong to Hefei (around 2.5 hours), or transit from Beijing to Hefei (around 1.5 hours), or transit from Shanghai to Hefei (around 40 min).