Topological n -root Su-Schrieffer-Heeger model in a non-Hermitian photonic ring system