Problem name- k ordered lcs-dynamic programming

why i am getting compilation error