Hasil: rough dp