Exact solutions for the time-dependent Hamiltonian in high-dimension and many-body problem