• + 0 comments

    i used this code insted of the second for:

    rotate(a.begin(),a.end()-k,a.end());