Algorithm Solution for ACMer